package debug

import "github.com/influxdata/flux/internal/debug"

Index

Functions

func Assert

func Assert(cond bool, msg interface{})

Assert will panic with msg if cond is false.

msg must be a string, func() string or fmt.Stringer.

Source Files

assert_off.go

Version
v0.197.0 (latest)
Published
Jun 25, 2025
Platform
linux/amd64
Last checked
7 hours ago

Tools for package owners.