Documentation ¶
Overview ¶
Package flag provides some general-purpose types which satisfy the flag.Value interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedStringFlag ¶ added in v0.17.0
func (*AllowedStringFlag) Set ¶ added in v0.17.0
func (f *AllowedStringFlag) Set(v string) error
func (*AllowedStringFlag) String ¶ added in v0.17.0
func (f *AllowedStringFlag) String() string
type ExplicitFlag ¶
ExplicitFlag is a string flag that tracks whether it was set.
func (*ExplicitFlag) Set ¶
func (f *ExplicitFlag) Set(value string) error
func (*ExplicitFlag) String ¶
func (f *ExplicitFlag) String() string
Click to show internal directories.
Click to hide internal directories.