Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
Normalize converts typed nils (e.g. []byte(nil)) into untyped nil. Other values are returned unmodified.
func NormalizeSlice ¶
func NormalizeSlice(s []any)
NormalizeSlice converts all typed nils (e.g. []byte(nil)) in s into untyped nils. Other values are unmodified. s is mutated in place.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.