Discover Packages
github.com/azure/azure-dev/cli/azd
pkg
syncmap
package
Version:
v1.35.0
Opens a new window with list of versions in this module.
Published: Sep 30, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1 module, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Map
func (s *Map[K, V]) Delete(key K)
func (s *Map[K, V]) Load(key K) (V, bool)
func (s *Map[K, V]) LoadAndDelete(key K) (V, bool)
func (s *Map[K, V]) LoadOrStore(key K, value V) (V, bool)
func (s *Map[K, V]) Range(f func(key K, value V) bool)
func (s *Map[K, V]) Store(key K, value V)
Map is a type-safe wrapper around sync.Map that eliminates
type assertions at call sites.
A Map must not be copied after first use.
func (s *Map [K, V]) Delete(key K)
Delete removes the value for key.
func (s *Map [K, V]) Load(key K) (V, bool )
Load returns the stored value for key.
func (s *Map [K, V]) LoadAndDelete(key K) (V, bool )
LoadAndDelete deletes the value for key and returns it if
present.
func (s *Map [K, V]) LoadOrStore(key K, value V) (V, bool )
LoadOrStore returns the existing value for the key if present.
func (s *Map [K, V]) Range(f func(key K, value V) bool )
Range calls f sequentially for each key and value present in
the map.
func (s *Map [K, V]) Store(key K, value V)
Store saves value under key.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.