Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckMode ¶
type CheckMode int
const ( CheckConstants CheckMode = 1 << iota CheckFields CheckFunctions CheckTypes CheckVariables CheckAll = CheckConstants | CheckFields | CheckFunctions | CheckTypes | CheckVariables )
type Checker ¶
type Checker struct { Mode CheckMode WholeProgram bool ConsiderReflection bool Debug io.Writer // contains filtered or unexported fields }
func NewChecker ¶
type LintChecker ¶
type LintChecker struct {
// contains filtered or unexported fields
}
func NewLintChecker ¶
func NewLintChecker(c *Checker) *LintChecker
func (*LintChecker) Checks ¶
func (l *LintChecker) Checks() []lint.Check
func (*LintChecker) Init ¶
func (l *LintChecker) Init(*lint.Program)
func (*LintChecker) Lint ¶
func (l *LintChecker) Lint(j *lint.Job)
func (*LintChecker) Name ¶
func (*LintChecker) Name() string
func (*LintChecker) Prefix ¶
func (*LintChecker) Prefix() string
Click to show internal directories.
Click to hide internal directories.