Registry / utility / collections

collections

JSON →
library1.4.0gogounverified

Package collections provides generic data structures and utilities for the Cosmos SDK ecosystem.

go get cosmossdk.io/collections
INSTALL
IMPORT
SIG · COLLECTIONS
C
collections
utilitygov1.4.0
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.

collections
cosmossdk.io/collections

Creates a new map collection and sets/gets a value.

package main import ( "fmt" "cosmossdk.io/collections" ) func main() { m := collections.NewMap[string, int]("example") m.Set("key", 42) val, _ := m.Get("key") fmt.Println(val) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
collections — go get collections · libregistry