Documentation ¶ Index ¶ type Generator func New(flag *bud.Flag, module *gomod.Module) *Generator func (g *Generator) GenerateFile(ctx context.Context, fsys overlay.F, file *overlay.File) error type State func Load(flag *bud.Flag, fsys fs.FS, module *gomod.Module) (*State, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Generator ¶ type Generator struct { // contains filtered or unexported fields } func New ¶ func New(flag *bud.Flag, module *gomod.Module) *Generator func (*Generator) GenerateFile ¶ func (g *Generator) GenerateFile(ctx context.Context, fsys overlay.F, file *overlay.File) error type State ¶ type State struct { Imports []*imports.Import Embeds []*embed.File Flag *bud.Flag } func Load ¶ func Load(flag *bud.Flag, fsys fs.FS, module *gomod.Module) (*State, error) Source Files ¶ View all Source files loader.gopublic.gostate.go Click to show internal directories. Click to hide internal directories.