Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearMap ¶
func ClearMap[T ~map[K]V, K comparable, V any](t T)
func ClearNumericSlice ¶
func ClearNumericSlice[T ~[]E, E numeric](t T)
ClearNumericSlice is like ClearSlice, but only receives slices of numeric types. This is expected to have better performance when compiled with legacy Go versions, with optimized compatible code.
func ClearSlice ¶
func ClearSlice[T ~[]E, E any](t T)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.