Documentation ¶
Index ¶
- func Bool(short string, long string, value bool, usage string) *bool
- func BoolVar(flagVar *bool, short string, long string, value bool, usage string) *bool
- func Float64(short string, long string, value float64, usage string) *float64
- func Float64Var(flagVar *float64, short string, long string, value float64, usage string) *float64
- func Int(short string, long string, value int, usage string) *int
- func Int64(short string, long string, value int64, usage string) *int64
- func Int64Var(flagVar *int64, short string, long string, value int64, usage string) *int64
- func IntVar(flagVar *int, short string, long string, value int, usage string) *int
- func Parse()
- func PrintFlags(header string)
- func String(short string, long string, value string, usage string) *string
- func StringVar(flagVar *string, short string, long string, value string, usage string) *string
- func Switch(short string, long string, usage string) *bool
- func SwitchVar(flagVar *bool, short string, long string, usage string) *bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolVar ¶
BoolVar adds a boolean flag to the parameters list. This is using the golang flag package internally.
func Float64Var ¶
Float64Var adds a float flag to the parameters list. This is using the golang flag package internally.
func Int64Var ¶
Int64Var adds am int64 flag to the parameters list. This is using the golang flag package internally.
func IntVar ¶
IntVar adds an integer flag to the parameters list. This is using the golang flag package internally.
func PrintFlags ¶
func PrintFlags(header string)
PrintFlags prints information about the flags set for this application
func StringVar ¶
StringVar adds a string flag to the parameters list. This is using the golang flag package internally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.