Documentation
¶
Index ¶
- Constants
- Variables
- func Info() string
- func Version() string
- type Flag
- type FlagValue
- type Flags
- func (f *Flags) Bool(usage string, flgs ...string) *bool
- func (f *Flags) BoolVar(b *bool, usage string, flgs ...string)
- func (f *Flags) Int(def int, usage string, flgs ...string) *int
- func (f *Flags) IntVar(i *int, def int, usage string, flgs ...string)
- func (f Flags) Parse(flags []string) ([]string, error)
- func (f Flags) Print(msg string)
- func (f *Flags) String(def string, usage string, flgs ...string) *string
- func (f *Flags) StringVar(s *string, def string, usage string, flgs ...string)
- func (f *Flags) Uint(def uint, usage string, flgs ...string) *uint
- func (f *Flags) UintVar(i *uint, def uint, usage string, flgs ...string)
- type Getter
Constants ¶
View Source
const ( NAME = "flagger" MAJORVER = "0" MINORVER = "9" VERTAG = "-beta" DESC = "Flag handler" )
Variables ¶
View Source
var (
NoFlags = errors.New("missing operand")
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.