Documentation ¶
Overview ¶
Package stylecheck contains analyzes that enforce style rules. Most of the recommendations made are universally agreed upon by the wider Go community. Some analyzes, however, implement stricter rules that not everyone will agree with. In the context of Staticcheck, these analyzes are not enabled by default.
For the most part it is recommended to follow the advice given by the analyzers that are enabled by default, but you may want to disable additional analyzes on a case by case basis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzers = []*lint.Analyzer{ st1000.SCAnalyzer, st1001.SCAnalyzer, st1003.SCAnalyzer, st1005.SCAnalyzer, st1006.SCAnalyzer, st1008.SCAnalyzer, st1011.SCAnalyzer, st1012.SCAnalyzer, st1013.SCAnalyzer, st1015.SCAnalyzer, st1016.SCAnalyzer, st1017.SCAnalyzer, st1018.SCAnalyzer, st1019.SCAnalyzer, st1020.SCAnalyzer, st1021.SCAnalyzer, st1022.SCAnalyzer, st1023.SCAnalyzer, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.