From: Brad Fitzpatrick Date: Fri, 3 Apr 2020 00:41:39 +0000 (-0700) Subject: doc: document testing.TB.TempDir in release notes X-Git-Tag: go1.15beta1~673 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a9a78b7005f400e52d8891b01458539e801cf8ad;p=gostls13.git doc: document testing.TB.TempDir in release notes Updates #35998 Change-Id: I93784e9a9efdd1531e3c342aa0899bf059da0ae1 Reviewed-on: https://go-review.googlesource.com/c/go/+/226983 Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go1.15.html b/doc/go1.15.html index d5b5832913..e75132bfa7 100644 --- a/doc/go1.15.html +++ b/doc/go1.15.html @@ -148,23 +148,35 @@ TODO
sync
-

+

The new method - Map.LoadAndDelete + Map.LoadAndDelete atomically deletes a key and returns the previous value if present.

The method - Map.Delete + Map.Delete is more efficient.

+
testing
+
+

+ The new methods + T.TempDir and + B.TempDir and + return temporary directories that are automatically cleaned up + at the end of the test. +

+
+
+
time
-

+

The new method - Ticker.Reset + Ticker.Reset supports changing the duration of a ticker.