gengo

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PkgFlagGo = 1 << iota
	PkgFlagGoPlus
	PkgFlagGoGen
	PkgFlagGopModified
	PkgFlagSpx
	PkgFlagGmx
)

Variables

This section is empty.

Functions

func RegisterPkgFlags added in v1.0.27

func RegisterPkgFlags(ext string, flag int)

Types

type Error

type Error struct {
	PkgDir string
	Stage  string
	Err    error
}

func (*Error) Error

func (p *Error) Error() string

type Runner

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

func (*Runner) Errors

func (p *Runner) Errors() []*Error

func (*Runner) GenGo

func (p *Runner) GenGo(dir string, recursive bool, base *cl.Config)

func (*Runner) GenGoPkg

func (p *Runner) GenGoPkg(pkgDir string, base *cl.Config) (err error)

func (*Runner) ResetErrors

func (p *Runner) ResetErrors() []*Error

func (*Runner) SetAfter

func (p *Runner) SetAfter(after func(p *Runner, dir string, flags int) error)

Jump to

Keyboard shortcuts

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