Versions in this module Expand all Collapse all v0 v0.3.0 Dec 16, 2024 Changes in this version + var MustExtractDoc = analysisinternal.MustExtractDoc + func Format(fset *token.FileSet, x ast.Expr) string + func HasSideEffects(info *types.Info, e ast.Expr) bool + func Imports(pkg *types.Package, path string) bool + func IsFunctionNamed(f *types.Func, pkgPath string, names ...string) bool + func IsNamedType(t types.Type, pkgPath string, names ...string) bool + func LineStart(f *token.File, line int) token.Pos + func ReadFile(pass *analysis.Pass, filename string) ([]byte, *token.File, error)