Documentation
¶
Index ¶
- func OptBool(f *pflag.FlagSet, value **bool, name, shorthand string, usage string)
- func OptDuration(f *pflag.FlagSet, value **time.Duration, name, shorthand string, usage string)
- func OptFloat64(f *pflag.FlagSet, value **float64, name, shorthand string, defValue float64, ...)
- func OptIntSlice(f *pflag.FlagSet, value **[]int, name, shorthand string, usage string)
- func OptSize(f *pflag.FlagSet, value **uint64, name, shorthand string, usage string)
- func OptString(f *pflag.FlagSet, value **string, name, shorthand string, usage string)
- func OptStringSlice(f *pflag.FlagSet, value **[]string, name, shorthand string, usage string)
- func OptUint64(f *pflag.FlagSet, value **uint64, name, shorthand string, usage string)
- func OptVar[T any, PT interface{ ... }](f *pflag.FlagSet, value **T, name, shorthand string, usage string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptDuration ¶
func OptFloat64 ¶
func OptIntSlice ¶
func OptStringSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.