Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOrDefault ¶
func GetOrDefault[T comparable](value T, defaultValue T) T
GetOrDefault if the value is golang ZERO value it returns the defaultValue, otherwise it returns the value itself
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.