From a9a78b7005f400e52d8891b01458539e801cf8ad Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 2 Apr 2020 17:41:39 -0700 Subject: 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 --- doc/go1.15.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) 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.

-- cgit v1.2.3-54-g00ecf