Versions in this module Expand all Collapse all v1 v1.18.1 Aug 15, 2022 Changes in this version + func EndsWithReturn(stmts []ast.Stmt) bool + func FindLoopStmt(stack []ast.Node, branch *ast.BranchStmt, typeInfo *types.Info) ast.Stmt + func FuncKey(d *ast.FuncDecl) string + func ImportsUnsafe(file *ast.File) bool + func IsTypeExpr(expr ast.Expr, info *types.Info) bool + func NewIdent(name string, t types.Type, info *types.Info, pkg *types.Package) *ast.Ident + func PruneOriginal(d *ast.FuncDecl) bool + func RemoveParens(e ast.Expr) ast.Expr + func SetType(info *types.Info, t types.Type, e ast.Expr) ast.Expr