package
1.16.9
Repository: https://github.com/expr-lang/expr.git
Documentation: pkg.go.dev

# Functions

Dump displays the passed parameters to standard out with newlines, customizable indentation, and additional debug information such as complete types and all pointer addresses used to indirect to the final value.
Errorf is a wrapper for fmt.Errorf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Fdump formats and displays the passed arguments to io.Writer w.
Fprint is a wrapper for fmt.Fprint that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Fprintf is a wrapper for fmt.Fprintf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Fprintln is a wrapper for fmt.Fprintln that treats each argument as if it passed with a default Formatter interface returned by NewFormatter.
NewDefaultConfig returns a ConfigState with the following default settings.
NewFormatter returns a custom formatter that satisfies the fmt.Formatter interface.
Print is a wrapper for fmt.Print that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Printf is a wrapper for fmt.Printf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Println is a wrapper for fmt.Println that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Sdump returns a string with the passed arguments formatted exactly the same as Dump.
Sprint is a wrapper for fmt.Sprint that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Sprintf is a wrapper for fmt.Sprintf that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.
Sprintln is a wrapper for fmt.Sprintln that treats each argument as if it were passed with a default Formatter interface returned by NewFormatter.

# Constants

UnsafeDisabled is a build-time constant which specifies whether or not access to the unsafe package is available.

# Variables

Config is the active configuration of the top-level functions.

# Structs

ConfigState houses the configuration options used by spew to format and display values.