Versions in this module Expand all Collapse all v0 v0.1.0 Oct 24, 2024 Changes in this version + type Generator struct + Config packages.Config + func NewGenerator(debug bool) *Generator + func (g *Generator) ExecuteGoCmd(ctx context.Context, args []string, env []string) error + func (g *Generator) GenerateAndExecuteFile(ctx context.Context, imports []string, extraStatements string) error + func (g *Generator) GenerateFile(imports []string, extraStatements, path string) error + func (g *Generator) GetExports(importName string, files []*ast.File, added map[string]bool) (string, error) + func (g *Generator) InjectPry(filePath string) (string, error) + func (g *Generator) RevertPry(modifiedFiles []string) error + func (g Generator) Debug(templ string, k ...interface{})