ROUTMIO_DEV

TOOLS

DDL GeneratorDDL → ERDDummy Data GeneratorRegex TesterJSON FormatterBase64 ConverterTimestamp ConverterCron BuilderMeeting Minutes

DATABASE

LANGUAGE

Go Map

6 functions

make(map)make(map[K]V) map[K]V

Creates and initializes a new map.

deletedelete(m map[K]V, key K)

Deletes the element with the specified key from the map.

lenlen(m map[K]V) int

Returns the number of elements in a slice or the number of keys in a map.

maps.Keysmaps.Keys(m map[K]V) []K

Returns a slice of all keys in the map. (Go 1.21+)

maps.Valuesmaps.Values(m map[K]V) []V

Returns a slice of all values in the map. (Go 1.21+)

maps.Clonemaps.Clone(m map[K]V) map[K]V

Returns a shallow copy of the map. (Go 1.21+)

Terms of ServicePrivacy PolicyContactIcons by Flaticon