package
module
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Sep 2, 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 map utilities library
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.
type KeyVal[K Ordered, V any] struct {
Key K
Val V
}
KeyVal is a Key Value pair.
Sort sorts a map by key, returning a slice of KV structs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.