Versions in this module Expand all Collapse all v3-unstable v3.0.0 Jan 29, 2019 Changes in this version + func PrintErrors(pkgs []*Package) int + func Visit(pkgs []*Package, pre func(*Package) bool, post func(*Package)) + type Config struct + BuildFlags []string + Context context.Context + Dir string + Env []string + Fset *token.FileSet + Mode LoadMode + Overlay map[string][]byte + ParseFile func(fset *token.FileSet, filename string, src []byte) (*ast.File, error) + Tests bool + type Error struct + Kind ErrorKind + Msg string + Pos string + func (err Error) Error() string + type ErrorKind int + const ListError + const ParseError + const TypeError + const UnknownError + type LoadMode int + const LoadAllSyntax + const LoadFiles + const LoadImports + const LoadSyntax + const LoadTypes + type Package struct + CompiledGoFiles []string + Errors []Error + ExportFile string + Fset *token.FileSet + GoFiles []string + ID string + IllTyped bool + Imports map[string]*Package + Name string + OtherFiles []string + PkgPath string + Syntax []*ast.File + Types *types.Package + TypesInfo *types.Info + TypesSizes types.Sizes + func Load(cfg *Config, patterns ...string) ([]*Package, error) + func (p *Package) MarshalJSON() ([]byte, error) + func (p *Package) String() string + func (p *Package) UnmarshalJSON(b []byte) error Other modules containing this package gopkg.in/alecthomas/gometalinter.v3