package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 10
Opens a new window with list of known importers.
Documentation
¶
Package ensure provides a set of functions that panic if the error is not nil.
NoError panics if the error is not nil.
Value return value or panics if the error is not nil.
func Values[V, V2 any](v V, v2 V2, err error) (V, V2)
Values returns values or panics if the error is not nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.