aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/sync/61696.md
blob: d138533597d36d2b5604d807edd4c8bfd94c57d9 (plain)
1
2
3
4
The [`(*sync.Map) Clear()`](/pkg/sync#Map.Clear) method deletes
all the entries, resulting in an empty map
([#61696](https://github.com/golang/go/issues/61696)).
It is analogous to `clear`.