Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyIfNotNil ¶
func CopyIfNotNil[T any](dst, src *T)
CopyIfNotNil copies the value of src to dst if src is not nil.
func SetDefaultIfNil ¶
func SetDefaultIfNil[T any](dst **T, src *T)
SetDefaultIfNil sets *dst to src if *dst is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.