Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Outputs = map[string]OutputMode{ "simplified": Simplified, "json": JSON, }
Functions ¶
This section is empty.
Types ¶
type OutputMode ¶
type OutputMode int
const ( Simplified OutputMode = iota + 1 JSON )
func (OutputMode) String ¶
func (o OutputMode) String() string
type OutputValue ¶
type OutputValue OutputMode
func NewOutputValue ¶
func NewOutputValue(val OutputMode, p *OutputMode) *OutputValue
NewOutputValue satisfies the flag.Value interface{}. Use it to plug into the flag package.
func (*OutputValue) Get ¶
func (o *OutputValue) Get() interface{}
func (*OutputValue) Set ¶
func (o *OutputValue) Set(val string) error
func (*OutputValue) String ¶
func (o *OutputValue) String() string
Click to show internal directories.
Click to hide internal directories.