toolshonnef.co/go/tools/stylecheck Index | Files | Directories

package stylecheck

import "honnef.co/go/tools/stylecheck"

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

Variables

Source Files

analysis.go doc.go

Directories

PathSynopsis
stylecheck/st1000
stylecheck/st1001
stylecheck/st1003
stylecheck/st1005
stylecheck/st1006
stylecheck/st1008
stylecheck/st1011
stylecheck/st1012
stylecheck/st1013
stylecheck/st1015
stylecheck/st1016
stylecheck/st1017
stylecheck/st1018
stylecheck/st1019
stylecheck/st1020
stylecheck/st1021
stylecheck/st1022
stylecheck/st1023
Version
v0.6.1 (latest)
Published
Mar 5, 2025
Platform
windows/amd64
Imports
19 packages
Last checked
26 seconds ago

Tools for package owners.