Registry / utility / modern-go-concurrent

modern-go-concurrent

JSON →
library0.0.0-20180306012644-bacd9c7ef1ddgogounverified

Package concurrent provides utilities for concurrent programming, including safe maps and execution helpers.

go get github.com/modern-go/concurrent
INSTALL
IMPORT
SIG · MODERN-GO-CONCURRE
M
modern-go-concurrent
utilitygov0.0.0-20180306012644-bacd9c7ef1dd
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.

concurrent
github.com/modern-go/concurrent

Creates a concurrent map and stores/retrieves a value.

package main import ( "fmt" "github.com/modern-go/concurrent" ) func main() { m := concurrent.NewMap() m.Set("key", "value") val, _ := m.Get("key") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180306012644-bacd9c7ef1ddlatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
modern-go-concurrent — go get modern-go-concurrent · libregistry