codegen

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

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 (*CodeGenerator) TypeLinkMap

func (c *CodeGenerator) TypeLinkMap() *typeLinkMap

type Options

type Options struct {
}

Options are code generator Options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL