package assert
import "github.com/cyphar/filepath-securejoin/pathrs-lite/internal/assert"
Package assert provides some basic assertion helpers for Go.
Index ¶
Functions ¶
func Assert ¶
Assert panics if the predicate is false with the provided argument.
func Assertf ¶
Assertf panics if the predicate is false and formats the message using the same formatting as fmt.Printf.
Source Files ¶
- Version
- v0.6.1 (latest)
- Published
- Nov 19, 2025
- Platform
- darwin/amd64
- Imports
- 1 packages
- Last checked
- 4 hours ago –
Tools for package owners.