Versions in this module Expand all Collapse all v1 v1.2.1 Mar 21, 2017 v1.2.0 Mar 21, 2017 Changes in this version + type CheckMode int + const CheckAll + const CheckConstants + const CheckFields + const CheckFunctions + const CheckTypes + const CheckVariables + type Checker struct + ConsiderReflection bool + Debug io.Writer + Mode CheckMode + WholeProgram bool + func NewChecker(mode CheckMode) *Checker + func (c *Checker) Check(lprog *loader.Program) []Unused + type Error struct + Errors map[string][]error + func (e Error) Error() string + type LintChecker struct + func NewLintChecker(c *Checker) *LintChecker + func (l *LintChecker) Funcs() map[string]lint.Func + func (l *LintChecker) Init(*lint.Program) + func (l *LintChecker) Lint(j *lint.Job) + type Unused struct + Obj types.Object + Position token.Position Incompatible versions in this module v2.0.1+incompatible Dec 5, 2017 v2.0.0+incompatible Dec 5, 2017