debug

package
v0.38.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, msg string, args ...any)

Assert is a debug functionality and is a no-op in release. It will assert that `condition` is `true` and otherwise log (structured) and panic.

func Assertf added in v0.26.0

func Assertf(condition bool, msg string, args ...any)

Assertf same as Assert but with formatting.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL