Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMap ¶
func NewMap[T comparable, V any](slice []T, value V) map[T]V
NewMap creates a map from a slice of keys to a single value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.