Documentation ¶ Index ¶ Variables func Get[Key comparable](m map[Key]any, key Key, v any) error func SortMapByKey[Key ordered, Value any](m map[Key]Value) (sorted []struct{ ... }) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrKeyIsNotFound = errors.New(`mapz: key is not found`) ErrVIsNotPointerOrInterface = errors.New(`mapz: v is not pointer or interface`) ErrValueTypeIsNotMatch = errors.New(`mapz: value type is not match`) ) Functions ¶ func Get ¶ func Get[Key comparable](m map[Key]any, key Key, v any) error func SortMapByKey ¶ added in v0.0.53 func SortMapByKey[Key ordered, Value any](m map[Key]Value) (sorted []struct { Key Key Value Value }, ) Types ¶ This section is empty. Source Files ¶ View all Source files maps.go Click to show internal directories. Click to hide internal directories.