Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetIfPresent ¶
func SetIfPresent[T any](target *T, value *T)
SetIfPresent sets target to value if value is not nil
Types ¶
type Number ¶ added in v0.10.2
type Number interface { constraints.Integer | constraints.Float }
Number is a constraint that permits any numerical type.
Click to show internal directories.
Click to hide internal directories.