Documentation ¶
Index ¶
- type Checker
- func (c *Checker) CheckBlankImports(j *lint.Job)
- func (c *Checker) CheckContextFirstArg(j *lint.Job)
- func (c *Checker) CheckDefaultCaseOrder(j *lint.Job)
- func (c *Checker) CheckDotImports(j *lint.Job)
- func (c *Checker) CheckErrorReturn(j *lint.Job)
- func (c *Checker) CheckErrorStrings(j *lint.Job)
- func (c *Checker) CheckErrorVarNames(j *lint.Job)
- func (c *Checker) CheckHTTPStatusCodes(j *lint.Job)
- func (c *Checker) CheckIncDec(j *lint.Job)
- func (c *Checker) CheckInvisibleCharacters(j *lint.Job)
- func (c *Checker) CheckNames(j *lint.Job)
- func (c *Checker) CheckPackageComment(j *lint.Job)
- func (c *Checker) CheckReceiverNames(j *lint.Job)
- func (c *Checker) CheckReceiverNamesIdentical(j *lint.Job)
- func (c *Checker) CheckTimeNames(j *lint.Job)
- func (c *Checker) CheckUnexportedReturn(j *lint.Job)
- func (c *Checker) CheckYodaConditions(j *lint.Job)
- func (c *Checker) Checks() []lint.Check
- func (c *Checker) Init(prog *lint.Program)
- func (*Checker) Name() string
- func (*Checker) Prefix() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
CheckGenerated bool
}
func NewChecker ¶
func NewChecker() *Checker
func (*Checker) CheckBlankImports ¶
func (*Checker) CheckContextFirstArg ¶
func (*Checker) CheckDefaultCaseOrder ¶
func (*Checker) CheckDotImports ¶
func (*Checker) CheckErrorReturn ¶
func (*Checker) CheckErrorStrings ¶
func (*Checker) CheckErrorVarNames ¶
func (*Checker) CheckHTTPStatusCodes ¶
func (*Checker) CheckIncDec ¶
func (*Checker) CheckInvisibleCharacters ¶
func (*Checker) CheckNames ¶
func (*Checker) CheckPackageComment ¶
func (*Checker) CheckReceiverNames ¶
func (*Checker) CheckReceiverNamesIdentical ¶
func (*Checker) CheckTimeNames ¶
func (*Checker) CheckUnexportedReturn ¶
CheckUnexportedReturn checks that exported functions on exported types do not return unexported types.
func (*Checker) CheckYodaConditions ¶
Click to show internal directories.
Click to hide internal directories.