//
pkg.gl
Category
github.com/ghjm/golib
pkg
syncro
package
0.0.0-20241007151752-78e1a202a154
Repository:
https://github.com/ghjm/golib.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
8
Files
90 SLOC
#
Functions
NewMap
NewMap constructs a new syncro.Map, initialized from a Go map.
NewVar
NewVar creates a new variable with a given initial value.
#
Variables
ErrAlreadyExists
No description provided by the author
#
Structs
Map
Map is a thread-safe generic map type.
Var
Var stores a single variable and allows synchronized access.