Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeGenerator ¶
type CodeGenerator struct { Options TypeMap map[string]model.Type // contains filtered or unexported fields }
CodeGenerator generates the jsonnet code for a set of messages and enums.
func NewCodeGenerator ¶
func NewCodeGenerator(opts Options) *CodeGenerator
NewCodeGenerator returns a code generator.
func (*CodeGenerator) Generate ¶
func (c *CodeGenerator) Generate(req *pluginpb.CodeGeneratorRequest) (*pluginpb.CodeGeneratorResponse, error)
func (*CodeGenerator) TypeLinkMap ¶
func (c *CodeGenerator) TypeLinkMap() *typeLinkMap
Click to show internal directories.
Click to hide internal directories.