module
0.0.0-20240531065029-ad7cedda0c75
Repository: https://github.com/akrovv/zeros.git
Documentation: pkg.go.dev
# README
Zeros linter
Use var
for Zero Value Structs
When all the fields of a struct are omitted in a declaration, use the var
form to declare the struct.
Bad | Good |
---|---|
|
|
How to start
- git clone [link]
- make build_plugin
- [!!! you need compiled file from https://github.com/golangci/golangci-lint]
- ./golangci-lint -c golangci.yml run [source code]