generator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndRun

func BuildAndRun(dst, cfgPkg, cfgType string, buildFlags []string) (outerr error)

func GenerateProgram

func GenerateProgram(srcPkg, srcTyp string) ([]byte, error)

Types

type CmdError

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

func (*CmdError) Details

func (e *CmdError) Details() string

func (*CmdError) Error

func (e *CmdError) Error() string

type CodegenError

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

func (*CodegenError) Details

func (e *CodegenError) Details() string

func (*CodegenError) Error

func (e *CodegenError) Error() string

type ConfigGenerator

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

func (*ConfigGenerator) Generate

func (g *ConfigGenerator) Generate(dst io.Writer, info *reflector.Result) error

type DetailedError

type DetailedError interface {
	Details() string
}

Jump to

Keyboard shortcuts

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