package
3.2.1
Repository: https://github.com/elastic/package-spec.git
Documentation: pkg.go.dev

# Functions

DisableWarningsAsErrors is a function to disable warnings as errors, unsetting environment variable.
EnableWarningsAsErrors is a function to enable warnings as errors, setting environment variable as true.
IsDefinedWarningsAsErrors checks whether or not warnings should be considered as errors, it checks the environment variable is defined and the value that it contains.

# Constants

EnvVarWarningsAsErrors is the environment variable name used to enable warnings as errors this meachinsm will be removed once structured errors are supported https://github.com/elastic/package-spec/issues/342.