flags

package
v1.65.7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Run defined if focusing some test, suite or subtest
	Run          *regexp.Regexp
	Verbose      bool
	PanicOnExit0 bool
	TestifyM     string

	Golden bool

	RunString string
)

Functions

func Parse

func Parse(args []string) error

Parse sets package global variables Known issue: If the flags are in the wrong order, the values may be undefined even if specified in the arguments. See: https://github.com/golang/go/issues/58839 TODO: parse arguments without flag pkg

Types

This section is empty.

Jump to

Keyboard shortcuts

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