stylecheck

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2019 License: MIT, MIT Imports: 13 Imported by: 0

Documentation

Index

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 (c *Checker) CheckBlankImports(j *lint.Job)

func (*Checker) CheckContextFirstArg

func (c *Checker) CheckContextFirstArg(j *lint.Job)

func (*Checker) CheckDefaultCaseOrder

func (c *Checker) CheckDefaultCaseOrder(j *lint.Job)

func (*Checker) CheckDotImports

func (c *Checker) CheckDotImports(j *lint.Job)

func (*Checker) CheckErrorReturn

func (c *Checker) CheckErrorReturn(j *lint.Job)

func (*Checker) CheckErrorStrings

func (c *Checker) CheckErrorStrings(j *lint.Job)

func (*Checker) CheckErrorVarNames

func (c *Checker) CheckErrorVarNames(j *lint.Job)

func (*Checker) CheckHTTPStatusCodes

func (c *Checker) CheckHTTPStatusCodes(j *lint.Job)

func (*Checker) CheckIncDec

func (c *Checker) CheckIncDec(j *lint.Job)

func (*Checker) CheckNames

func (c *Checker) CheckNames(j *lint.Job)

func (*Checker) CheckPackageComment

func (c *Checker) CheckPackageComment(j *lint.Job)

func (*Checker) CheckReceiverNames

func (c *Checker) CheckReceiverNames(j *lint.Job)

func (*Checker) CheckReceiverNamesIdentical

func (c *Checker) CheckReceiverNamesIdentical(j *lint.Job)

func (*Checker) CheckTimeNames

func (c *Checker) CheckTimeNames(j *lint.Job)

func (*Checker) CheckUnexportedReturn

func (c *Checker) CheckUnexportedReturn(j *lint.Job)

CheckUnexportedReturn checks that exported functions on exported types do not return unexported types.

func (*Checker) CheckYodaConditions

func (c *Checker) CheckYodaConditions(j *lint.Job)

func (*Checker) Checks

func (c *Checker) Checks() []lint.Check

func (*Checker) Init

func (c *Checker) Init(prog *lint.Program)

func (*Checker) Name

func (*Checker) Name() string

func (*Checker) Prefix

func (*Checker) Prefix() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL