codegen

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MPL-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	OutputDir                    string
	NsFullNameAsFileName         bool
	FileNamePrefixToStrip        string
	PackageRootPath              string
	PrefixEnumValuesWithTypeName bool
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(goModel *gomodel.Model, nsReplaceMap map[string]string) *Generator

func (*Generator) Gen

func (this *Generator) Gen()

func (*Generator) GenPkg

func (this *Generator) GenPkg(pkg *gomodel.Package) string

Jump to

Keyboard shortcuts

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