docs : Change recommended linter

Changed to use staticcheck since it is currently not maintained and golint was recommended. Also added that golint is currently deprecated and not maintained.
pull/228/head
yksk171118@gmail.com 9 months ago
parent d0cc0aa496
commit 787081390a

@ -30,7 +30,7 @@ This project layout is intentionally generic and it doesn't try to impose a spec
This is a community effort. Open an issue if you see a new pattern or if you think one of the existing patterns needs to be updated.
If you need help with naming, formatting and style start by running [`gofmt`](https://golang.org/cmd/gofmt/) and [`golint`](https://github.com/golang/lint). Also make sure to read these Go code style guidelines and recommendations:
If you need help with naming, formatting and style start by running [`gofmt`](https://golang.org/cmd/gofmt/) and [`staticcheck`](https://github.com/golang/lint). The previous standard linter, golint, is now deprecated and not maintained; use of a maintained linter such as staticcheck is recommended. Also make sure to read these Go code style guidelines and recommendations:
* https://talks.golang.org/2014/names.slide
* https://golang.org/doc/effective_go.html#names
* https://blog.golang.org/package-names

Loading…
Cancel
Save