Go Map
6 functions
make(map)make(map[K]V) map[K]VCreates 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) intReturns the number of elements in a slice or the number of keys in a map.
maps.Keysmaps.Keys(m map[K]V) []KReturns a slice of all keys in the map. (Go 1.21+)
maps.Valuesmaps.Values(m map[K]V) []VReturns a slice of all values in the map. (Go 1.21+)
maps.Clonemaps.Clone(m map[K]V) map[K]VReturns a shallow copy of the map. (Go 1.21+)
