package
Version:
v0.19.0
Opens a new window with list of versions in this module.
Published: Jan 29, 2024
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Must panics if err is not nil, otherwise returns value
It is an alias for OrPanic
func OrPanic[T any](value T, err error) T
OrPanic panics if err is not nil, otherwise returns value
Source Files
¶
Click to show internal directories.
Click to hide internal directories.