Documentation ¶
Index ¶
- func Bool(expectName string, defaultValue bool, usage string) (p *bool, actualName string)
- func BoolVar(p *bool, expectName string, defaultValue bool, usage string) (actualName string)
- func Duration(expectName string, defaultValue time.Duration, usage string) (p *time.Duration, actualName string)
- func DurationVar(p *time.Duration, expectName string, defaultValue time.Duration, usage string) (actualName string)
- func Float64(expectName string, defaultValue float64, usage string) (p *float64, actualName string)
- func Float64Var(p *float64, expectName string, defaultValue float64, usage string) (actualName string)
- func Int(expectName string, defaultValue int, usage string) (p *int, actualName string)
- func Int64(expectName string, defaultValue int64, usage string) (p *int64, actualName string)
- func Int64Var(p *int64, expectName string, defaultValue int64, usage string) (actualName string)
- func IntVar(p *int, expectName string, defaultValue int, usage string) (actualName string)
- func Parse()
- func String(expectName string, defaultValue string, usage string) (p *string, actualName string)
- func StringVar(p *string, expectName string, defaultValue string, usage string) (actualName string)
- func Uint(expectName string, defaultValue uint, usage string) (p *uint, actualName string)
- func Uint64(expectName string, defaultValue uint64, usage string) (p *uint64, actualName string)
- func Uint64Var(p *uint64, expectName string, defaultValue uint64, usage string) (actualName string)
- func UintVar(p *uint, expectName string, defaultValue uint, usage string) (actualName string)
- type FlagNames
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationVar ¶
func Float64Var ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.