analyzer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DOC         = "code-rule-linter is analyzer that detects violations of coding rule"
	REPORT_TEXT = "should follow the coding rules"
)
View Source
const (
	VAR_NAME_PATTERN       string = `^[A-Za-z]+$`
	CONST_NAME_PATTERN     string = `^([A-Z_]+)$`
	TEST_FUNC_NAME_PATTERN string = `^Test_[A-Za-z]+$`
)

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "codingRuleLinter",
	Doc:      DOC,
	Run:      run,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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