repositorypackage
0.4.1
Repository: https://github.com/matsuri-tech/golint-extra.git
Documentation: pkg.go.dev
# README
golint-extra
How to use
$ go run github.com/matsuri-tech/golint-extra ./...
# Or you just want to see logs:
$ DEBUG=true go run github.com/matsuri-tech/golint-extra ./...
Ignore lint
Use @ignore-golint-extra
Example:
h := H{
// @ignore-golint-extra
a: "foo",
}
Rules
zerovalue_struct
: ban incomplete struct initialization (inner function structs are not supported)