Versions in this module Expand all Collapse all v0 v0.2.4 Sep 3, 2022 Changes in this version + func Generate(state *State) ([]byte, error) + type Generator struct + func New(injector *di.Injector, module *gomod.Module) *Generator + func (g *Generator) GenerateFile(ctx context.Context, fsys overlay.F, file *overlay.File) error + type State struct + Imports []*imports.Import + Provider *di.Provider + func Load(fsys fs.FS, injector *di.Injector, module *gomod.Module) (*State, error)