Documentation ¶
Index ¶
Constants ¶
View Source
const (
ParserName = "protobuf3"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct { Config *ParserConfig ProtoOptions *ProtoOptions }
type ParserConfig ¶
type ParserConfig struct { Ext []string `yaml:"ext,omitempty"` ImportPath []string `yaml:"importPath,omitempty"` }
func (*ParserConfig) Name ¶
func (*ParserConfig) Name() string
func (*ParserConfig) ToDefault ¶
func (*ParserConfig) ToDefault(cfg config.IConfigDefault)
type ProtoOption ¶
type ProtoOptions ¶
type ProtoOptions struct { Messages map[string]*ProtoOption Fields map[string]*ProtoOption OneOfs map[string]*ProtoOption // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.