generator

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0, BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyArray     = "array"
	KeyBaseType  = "basetype"
	KeyCore      = "core"
	KeyEvent     = "event"
	KeyEvents    = "events"
	KeyExist     = "exist"
	KeyFunc      = "func"
	KeyFuncs     = "funcs"
	KeyInit      = "init"
	KeyMandatory = "mandatory"
	KeyMap       = "map"
	KeyMut       = "mut"
	KeyParam     = "param"
	KeyParams    = "params"
	KeyProxy     = "proxy"
	KeyPtrs      = "ptrs"
	KeyResult    = "result"
	KeyResults   = "results"
	KeyState     = "state"
	KeyStruct    = "struct"
	KeyStructs   = "structs"
	KeyThis      = "this"
	KeyTypeDef   = "typedef"
	KeyTypeDefs  = "typedefs"
	KeyView      = "view"
)

Variables

This section is empty.

Functions

func FindModulePath

func FindModulePath() error

Types

type GenBase added in v0.2.2

type GenBase struct {
	// contains filtered or unexported fields
}

type GoGenerator added in v0.2.2

type GoGenerator struct {
	GenBase
}

func NewGoGenerator added in v0.2.2

func NewGoGenerator(s *model.Schema) *GoGenerator

func (*GoGenerator) Generate added in v0.2.3

func (g *GoGenerator) Generate() error

type RustGenerator added in v0.2.2

type RustGenerator struct {
	GenBase
}

func NewRustGenerator added in v0.2.2

func NewRustGenerator(s *model.Schema) *RustGenerator

func (*RustGenerator) Generate added in v0.2.3

func (g *RustGenerator) Generate() error

type TypeScriptGenerator added in v0.2.2

type TypeScriptGenerator struct {
	GenBase
}

func NewTypeScriptGenerator added in v0.2.2

func NewTypeScriptGenerator(s *model.Schema) *TypeScriptGenerator

func (*TypeScriptGenerator) Generate added in v0.2.3

func (g *TypeScriptGenerator) Generate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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