Documentation
¶
Index ¶
- func Time(f *pflag.FlagSet, name string, value time.Time, usage string) *time.Time
- func TimeP(f *pflag.FlagSet, name, shorthand string, value time.Time, usage string) *time.Time
- func TimeVar(f *pflag.FlagSet, p *time.Time, name string, value time.Time, usage string)
- func TimeVarP(f *pflag.FlagSet, p *time.Time, name, shorthand string, value time.Time, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Time ¶
Time defines an time.Time flag with specified name, default value, and usage string. The return value is the address of an time.Time variable that stores the value of the flag.
func TimeP ¶
TimeP is like Time, but accepts a shorthand letter that can be used after a single dash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.