Documentation ¶
Overview ¶
Package flags provides type EncodingFlag for use as a flag to specify Encoding.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingFlag ¶
EncodingFlag encapsulates an Encoding for use as a flag.
func (*EncodingFlag) Get ¶
func (e *EncodingFlag) Get() interface{}
Get implements part of the flag.Getter interface.
func (*EncodingFlag) Set ¶
func (e *EncodingFlag) Set(v string) error
Set implements part of the flag.Value interface.
func (*EncodingFlag) String ¶
func (e *EncodingFlag) String() string
String implements part of the flag.Value interface.
Click to show internal directories.
Click to hide internal directories.