package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Nov 19, 2025
License: BSD-3-Clause, MPL-2.0
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 assert provides some basic assertion helpers for Go.
func Assert(predicate bool, msg any)
Assert panics if the predicate is false with the provided argument.
Assertf panics if the predicate is false and formats the message using the
same formatting as fmt.Printf.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.