Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BakePackageHistory = [...]string{
"gitlab.com/firelizzard/bake",
}
BakePackageHistory is the history of package names used by Bake
Functions ¶
Types ¶
type Generator ¶
type Generator interface {
Generate(*packages.Package, definitionLookup, *ast.File, io.Writer) []error
}
A Generator generates code.
type GenericFunction ¶
type GenericFunction struct { Function *types.Func TypeParams []*types.TypeName Targets []*GenericFunctionTarget }
type GenericFunctionTarget ¶
type GenericMethod ¶
type GenericMethodTarget ¶
type GenericType ¶
type GenericType struct { Type *types.TypeName TypeParams []*types.TypeName Targets []*GenericTypeTarget }
type GenericTypeTarget ¶
Click to show internal directories.
Click to hide internal directories.