Registry / utility / ordmap

ordmap

JSON →
library0.5.10gogounverified

An ordered map implementation for Go, preserving insertion order while providing map-like operations.

utility
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.

goki.dev/ordmap

Creates an ordered map, inserts key-value pairs, and iterates in insertion order.

package main import ( "fmt" "goki.dev/ordmap" ) func main() { m := ordmap.New[string, int]() m.Set("a", 1) m.Set("b", 2) m.ForEach(func(key string, val int) bool { fmt.Println(key, val) return true }) }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources