1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:04:48 -07:00
go/src/expvar
Jes Cok b439f32859 all: make use of sync.Map.Clear
Since CL 515015 added sync.Map.Clear method, we can use it to make
the code simpler and clearer.

Change-Id: I29edc969431b4fd95cd5fd864953a71ca1538dd3
Reviewed-on: https://go-review.googlesource.com/c/go/+/582015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joedian Reid <joedian@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
2024-04-26 21:32:11 +00:00
..
expvar_test.go expvar: add the missing deletion step for keys 2024-04-04 14:46:19 +00:00
expvar.go all: make use of sync.Map.Clear 2024-04-26 21:32:11 +00:00