Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireNonNil ¶
func RequireNonNil[T any](value T) T
RequireNonNil returns the value of the given optional struct, or panics if the value is not set.
func RequireNonNilM ¶ added in v1.1.5
RequireNonNilM returns the value of the given optional struct, or panics if the value is not set with the given message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.