package
Version:
v0.0.0-...-6d78eec
Opens a new window with list of versions in this module.
Published: Apr 30, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package assume provides assertions that panic on violation.
This serves two purposes:
- Failing fast.
- Remove unnecessary branches and the temptation to test them.
Equal panics if the items are not equal.
func NotNil(v interface{})
NotNil panics if the value is nil.
Success panics if the provided error is not nil.
True panics if the condition is false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.