package
Version:
v0.16.1
Opens a new window with list of versions in this module.
Published: Dec 7, 2023
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.