Versions in this module Expand all Collapse all v0 v0.9.0 Aug 15, 2022 Changes in this version + func AssertEqualAstFile(want, got *ast.File) bool + type AstFile struct + func NewAstFile(file string) (*AstFile, error) + func (a *AstFile) ChangePackage(newPkg string) error + func (a *AstFile) ContainsFunc(fn string) bool + func (a *AstFile) GetFuncDecl(fn string) *ast.FuncDecl + func (a *AstFile) SwapSimpleFuncs(fn1, fn2 string, strict bool) error + func (a AstFile) SaveTemp(file string) (outFile string, cleaner func(), err error) + func (a AstFile) String() string