1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 import "sync" // home to the standard library's sync.map implementation as of Go 1.9
11 // Map is a concurrent map with amortized-constant-time loads, stores, and deletes.
12 // It is safe for multiple goroutines to call a Map's methods concurrently.
14 // The zero Map is valid and empty.
16 // A Map must not be copied after first use.