Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the linter. Name = "bannedfunc" // Doc is the description of the linter. Doc = "Checks for use of banned functions" )
Config is the configuration of the linter.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BannedFunc ¶
type BannedFunc struct {
// contains filtered or unexported fields
}
BannedFunc is the linter.
func (*BannedFunc) Run ¶
func (bf *BannedFunc) Run() []*Msg
Run runs this linter and returns a slice of messages.
Click to show internal directories.
Click to hide internal directories.