Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureHasKey ¶ added in v0.13.0
func EnsureHasKey[K comparable, V any](value map[K]V, key K, format string, args ...any)
EnsureHasKey panics if the given map does not contain the given key.
func EnsureNotEmpty ¶ added in v0.8.1
EnsureNotEmpty panics if the given string is empty.
func EnsureNotNil ¶
EnsureNotNil panics if the given pointer is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.