package
module
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Sep 13, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
maps is a utility library for go maps
In current form the lib is incredibly small. I may build it up over time.
If you need a sorted map and require performance, consider a btree.
License
MIT
Documentation
¶
SortKeys sorts the keys of a map.
Sort sorts a map by key, returning a slice of KV structs.
type KeyValue[K Ordered, V any] struct {
Key K
Value V
}
KeyValue is a Key Value pair.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.