generate

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const FACTOR3_ANNOTATION_PREFIX = "//factor3:"
View Source
const FACTOR3_ANNOTATION_PREFIX_GENERATE = FACTOR3_ANNOTATION_PREFIX + "generate "
View Source
const FACTOR3_ANNOTATION_PREFIX_PFLAG = FACTOR3_ANNOTATION_PREFIX + "pflag "

Variables

This section is empty.

Functions

func GenerateFilesForType

func GenerateFilesForType(t Type) (map[string]string, error)

func LoadPackages

func LoadPackages(patterns ...string) (map[string]*packages.Package, error)

Types

type App

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

func New

func New(workDir string) (*App, error)

func (*App) Generate

func (a *App) Generate() error

type Config

type Config struct {
	ConfigFileName string
	EnvPrefix      string
}

type Field

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

type Type

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

type UnparsedType

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

Jump to

Keyboard shortcuts

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