Documentation ¶ Index ¶ Variables func Get[Key comparable](m map[Key]any, key Key, v any) error func SortMapIntKey[V any](m map[int]V) (sorted []struct{ ... }) func SortMapStringKey[V any](m map[string]V) (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 SortMapIntKey ¶ added in v0.0.52 func SortMapIntKey[V any](m map[int]V) (sorted []struct { Key int Value V }, ) func SortMapStringKey ¶ added in v0.0.52 func SortMapStringKey[V any](m map[string]V) (sorted []struct { Key string Value V }, ) Types ¶ This section is empty. Source Files ¶ View all Source files maps.go Click to show internal directories. Click to hide internal directories.