Registry / utility / savetherbtz-generic-sync-map-go

savetherbtz-generic-sync-map-go

JSON →
library0.0.0-20230201052002-6c5833b989begogounverified

A generic concurrent map implementation for Go using type parameters.

go get github.com/SaveTheRbtz/generic-sync-map-go
INSTALL
IMPORT
SIG · SAVETHERBTZ-GENERI
S
savetherbtz-generic-sync-map-go
utilitygov0.0.0-20230201052002-6c5833b989be
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

syncmap
github.com/SaveTheRbtz/generic-sync-map-go

Creates a generic concurrent map and performs a store and load.

package main import ( "fmt" syncmap "github.com/SaveTheRbtz/generic-sync-map-go" ) func main() { m := syncmap.New[string, int]() m.Store("key", 42) val, _ := m.Load("key") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230201052002-6c5833b989belatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
savetherbtz-generic-sync-map-go — go get savetherbtz-generic-sync-map-go · libregistry