Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenerator ¶
func NewGenerator(options map[string]string) generator.ProgramGenerator
NewGenerator returns a generator for JSON descriptor files.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator generates JSON descriptor files.
func (*Generator) DefaultOutputDir ¶
DefaultOutputDir returns "gen-json".
func (*Generator) GetOutputDir ¶
GetOutputDir returns the dir unchanged.
Click to show internal directories.
Click to hide internal directories.