Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendNotNil ¶
func AppendNotNil[T any](slice []*T, elems ...*T) []*T
AppendNotNil elements to the slice, only if the element is not nil.
func AppendNotZero ¶
func AppendNotZero[T comparable](slice []T, elems ...T) []T
AppendNotZero elements to the slice, only if the element is not zero.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.