Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureNotNil ¶
func EnsureNotNil[K comparable, V any](m map[K]V) map[K]V
EnsureNotNil ensures a given map is not nil. Returns a new empty (but non-nil) map if the original map was nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.