Versions in this module Expand all Collapse all v0 v0.0.2 Nov 3, 2023 Changes in this version + const FromArgsUsage + func DefaultTagVars() map[string]TagVar + func GenPath(root string) string + func Instances(args []string, c *Config) []*build.Instance + type Config struct + AllCUEFiles bool + BuildTags []string + Context *build.Context + DataFiles bool + Dir string + Module string + ModuleRoot string + Overlay map[string]Source + Package string + ParseFile func(name string, src interface{}) (*ast.File, error) + Registry ociregistry.Interface + StdRoot string + Stdin io.Reader + TagVars map[string]TagVar + Tags []string + Tests bool + Tools bool + type MultiplePackageError struct + Dir string + Files []string + Packages []string + func (e *MultiplePackageError) Error() string + func (e *MultiplePackageError) InputPositions() []token.Pos + func (e *MultiplePackageError) Msg() (string, []interface{}) + func (e *MultiplePackageError) Path() []string + func (e *MultiplePackageError) Position() token.Pos + type NoFilesError struct + Package *build.Instance + func (e *NoFilesError) Error() string + func (e *NoFilesError) InputPositions() []token.Pos + func (e *NoFilesError) Msg() (string, []interface{}) + func (e *NoFilesError) Path() []string + func (e *NoFilesError) Position() token.Pos + type PackageError struct + ImportStack []string + IsImportCycle bool + Pos token.Pos + func (p *PackageError) Error() string + func (p *PackageError) InputPositions() []token.Pos + func (p *PackageError) Path() []string + func (p *PackageError) Position() token.Pos + type Source interface + func FromBytes(b []byte) Source + func FromFile(f *ast.File) Source + func FromString(s string) Source + type TagVar struct + Description string + Func func() (ast.Expr, error)