Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
func Contains[T comparable](s []T, e T) bool
Contains checks if slice contains element.
func NullToEmpty ¶
func NullToEmpty[T any](a []T) []T
NullToEmpty returns empty slice if provided slice is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.