Versions in this module Expand all Collapse all v0 v0.1.0 Sep 28, 2021 Changes in this version + func Bool(name string) bool + func BoolE(name string) (bool, error) + func Float64(name string) float64 + func Float64E(name string) (float64, error) + func Int(name string) int64 + func IntE(name string) (int64, error) + func Parse() error + func Register(fs ...Flag) + func String(name string) string + func StringE(name string) (string, error) + func Uint(name string) uint64 + func UintE(name string) (uint64, error) + func With(fs ...Flag) + type BoolFlag struct + Action func(string, *FlagSet) + Default bool + EnvVar string + Name string + Usage string + Variable *bool + func (f *BoolFlag) Apply(set *FlagSet) + type Flag interface + Apply func(*FlagSet) + type FlagSet struct + func (fs *FlagSet) Bool(name string) bool + func (fs *FlagSet) BoolE(name string) (bool, error) + func (fs *FlagSet) Float64(name string) float64 + func (fs *FlagSet) Float64E(name string) (float64, error) + func (fs *FlagSet) Int(name string) int64 + func (fs *FlagSet) IntE(name string) (int64, error) + func (fs *FlagSet) Lookup(name string) *flag.Flag + func (fs *FlagSet) Parse() error + func (fs *FlagSet) Register(flags ...Flag) + func (fs *FlagSet) String(name string) string + func (fs *FlagSet) StringE(name string) (string, error) + func (fs *FlagSet) Uint(name string) uint64 + func (fs *FlagSet) UintE(name string) (uint64, error) + func (fs *FlagSet) With(flags ...Flag) + type Float64Flag struct + Action func(string, *FlagSet) + Default float64 + Name string + Usage string + Variable *float64 + func (f *Float64Flag) Apply(set *FlagSet) + type IntFlag struct + Action func(string, *FlagSet) + Default int + Name string + Usage string + Variable *int + func (f *IntFlag) Apply(set *FlagSet) + type StringFlag struct + Action func(string, *FlagSet) + Default string + EnvVar string + Name string + Usage string + Variable *string + func (f *StringFlag) Apply(set *FlagSet) + type UintFlag struct + Action func(string, *FlagSet) + Default uint + Name string + Usage string + Variable *uint + func (f *UintFlag) Apply(set *FlagSet)