maps
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcMap¶added inv2.24.0
func Map[Kcomparable, Fany, Tany](params map[K]F, convert func(F) T) map[K]T
funcSortedKeys¶
func SortedKeys[Tconstraints.Ordered](m map[T]any) (keys []T)
SortedKeys returns the keys of m in sorted order.
funcSubset¶
func Subset[T, Ucomparable](a, b map[T]U)bool
Subset returns true if all the keys of a are presentin b and have the same values.If the corresponding value of a[k] is the zero value inb, Subset will skip comparing that value.This allows checking for the presence of map keys.
Types¶
This section is empty.