Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddVersionFlag ¶
func AddVersionFlag()
Types ¶
type DebugFlag ¶
type DebugFlag struct {
// contains filtered or unexported fields
}
func NewDebugFlag ¶
NewDebugFlag constructs a DebugFlag for the fields of debug, which must be a pointer to a struct.
Each field of *debug is a different value, named for the lower-case of the field name. Each field must be an int or string and must have a `help` struct tag. There may be an "Any bool" field, which will be set if any debug flags are set.
The returned flag takes a comma-separated list of settings. Each setting is name=value; for ints, name is short for name=1.
If debugSSA is non-nil, any debug flags of the form ssa/... will be passed to debugSSA for processing.
Click to show internal directories.
Click to hide internal directories.