Versions in this module Expand all Collapse all v1 v1.0.2 Aug 4, 2022 Changes in this version + func PathExists(path string) (bool, error) + type Generator struct + File *parser.File + Parser *parser.Parser + Pkg *parser.Package + func (g *Generator) Bytes() []byte + func (g *Generator) Format() ([]byte, error) + func (g *Generator) GetExprString(expr ast.Expr) string + func (g *Generator) GetExprValueString(expr ast.Expr) string + func (g *Generator) Output(output string) + func (g *Generator) Prepare(dir string, files []string, output string) + func (g *Generator) PrepareImports(imports map[string]string) + func (g *Generator) PreparePackage(dir string, output string) + func (g *Generator) PrepareParser() + func (g *Generator) PrepareWithFile(fileName string, output string) + func (g *Generator) ReduceType(expr ast.Expr) parser.Type + func (g *Generator) ReduceTypeSrc(src string) parser.Type + func (g *Generator) WorkFile() *parser.File