Documentation
¶
Index ¶
Constants ¶
View Source
const ( OutputModeSingle = "single" OutputModeGroup = "group" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Processor ProcessorConfig `json:"processor"` Render RenderConfig `json:"render"` Flags `json:"-"` }
type KeyValueFlags ¶ added in v0.2.0
type KeyValueFlags []KeyValue
func (*KeyValueFlags) AsMap ¶ added in v0.2.0
func (kvs *KeyValueFlags) AsMap() map[string]string
func (*KeyValueFlags) Set ¶ added in v0.2.0
func (kvs *KeyValueFlags) Set(value string) error
Set is an implementation of the flag.Value interface
func (*KeyValueFlags) String ¶ added in v0.2.0
func (kvs *KeyValueFlags) String() string
KeyValue is an implementation of the flag.Value interface
func (*KeyValueFlags) Type ¶ added in v0.2.0
func (kvs *KeyValueFlags) Type() string
Type implements pflag.Value
type Marker ¶ added in v0.0.13
type Marker struct { Name string Target TargetType }
type ProcessorConfig ¶
type RenderConfig ¶
type TargetType ¶ added in v0.0.13
type TargetType string
const ( TargetTypePackage TargetType = "package" TargetTypeType TargetType = "type" TargetTypeField TargetType = "field" )
Click to show internal directories.
Click to hide internal directories.