Documentation
¶
Overview ¶
Package structs provides small generic helpers for structs types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEmpty ¶
func IsEmpty[T comparable](value *T) bool
IsEmpty reports whether value is nil or points to the zero value of T.
func IsZero ¶
func IsZero[T comparable](value T) bool
IsZero reports whether value is the zero value of T.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.