From: Andrew Bonventre Date: Tue, 11 Jun 2019 22:09:10 +0000 (-0400) Subject: doc: add release notes for the bytes, strings, and time packages X-Git-Tag: go1.13beta1~90 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=65f53da8e805a43eae473016ae3fe46b7065fa51;p=gostls13.git doc: add release notes for the bytes, strings, and time packages Change-Id: Idb5bf2a61bff635e3ebd926bdeacf943578ac874 Reviewed-on: https://go-review.googlesource.com/c/go/+/181681 Reviewed-by: Ian Lance Taylor Reviewed-by: Bryan C. Mills --- diff --git a/doc/go1.13.html b/doc/go1.13.html index 10f63882bf..91d2f28094 100644 --- a/doc/go1.13.html +++ b/doc/go1.13.html @@ -128,6 +128,11 @@ TODO TODO: https://golang.org/cl/161760: hoist error creation out of function

+

+ The new ToValidUTF8 function returns a + copy of a given byte slice with each run of invalid UTF-8 byte sequences replaced by a given slice. +

+
context
@@ -313,13 +318,14 @@ TODO
-
strings, bytes
+
strings

- TODO: https://golang.org/cl/142003: add ToValidUTF8 + The new ToValidUTF8 function returns a + copy of a given string with each run of invalid UTF-8 byte sequences replaced by a given string.

-
+
sync
@@ -392,11 +398,15 @@ TODO
time

- TODO: https://golang.org/cl/122876: add support for day-of-year in Format and Parse + Day-of-year is now supported by Format + and Parse.

- TODO: https://golang.org/cl/167387: add methods to convert duration to microseconds and milliseconds + The new Duration methods + Microseconds and + Milliseconds return + the duration as an integer count of their respectively named units.