internal

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Panic string

Panic configures public wag API behavior. If this is changed to "1", API functions will panic instead of returning error values. The stack traces can be helpful for debugging.

This can be set during linking:

go build -ldflags="-X gate.computer/wag/internal.Panic=1"

This is not a stable feature: it may change or disappear at any time.

Functions

func DontPanic

func DontPanic() bool

func Error

func Error(x any) error

Types

This section is empty.

Directories

Path Synopsis
cmd
gen
reg
isa
Documented interfaces.
Documented interfaces.
test

Jump to

Keyboard shortcuts

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