github.com/amarpal/go-tools@v0.0.0-20240422043104-40142f59f616/stylecheck/doc.go (about)

     1  //go:generate go run ../generate.go
     2  
     3  // Package stylecheck contains analyzes that enforce style rules.
     4  // Most of the recommendations made are universally agreed upon by the wider Go community.
     5  // Some analyzes, however, implement stricter rules that not everyone will agree with.
     6  // In the context of Staticcheck, these analyzes are not enabled by default.
     7  //
     8  // For the most part it is recommended to follow the advice given by the analyzers that are enabled by default,
     9  // but you may want to disable additional analyzes on a case by case basis.
    10  package stylecheck