MustNotNil¶
func MustNotNil[T any](value *T, messages ...string) T
MustNotNil panics with a formatted error message if the value is nil. Returns the dereferenced value if not nil.
func MustNotNil[T any](value *T, messages ...string) T
MustNotNil panics with a formatted error message if the value is nil. Returns the dereferenced value if not nil.