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 ¶
type KeyValueFlags []KeyValue
func (*KeyValueFlags) AsMap ¶
func (kvs *KeyValueFlags) AsMap() map[string]string
func (*KeyValueFlags) Set ¶
func (kvs *KeyValueFlags) Set(value string) error
Set is an implementation of the flag.Value interface
func (*KeyValueFlags) String ¶
func (kvs *KeyValueFlags) String() string
KeyValue is an implementation of the flag.Value interface
type Marker ¶
type Marker struct {
Name string
Target TargetType
}
type ProcessorConfig ¶
type RenderConfig ¶
type TargetType ¶
type TargetType string
const ( TargetTypePackage TargetType = "package" TargetTypeType TargetType = "type" TargetTypeField TargetType = "field" )
Click to show internal directories.
Click to hide internal directories.