Prepare for #164: rename GAS to gosec

1. Rename in a backward compatible way
2. Remove gosec default exclude list because gosec is already disabled
by default.
3. Warn about unmatched linter names in //nolint directives
4. Process linter names in //nolint directives in upper case
5. Disable gosec for golangci-lint in .golangci.yml
This commit is contained in:
Denis Isaev 2018-09-01 14:16:30 +03:00 committed by Isaev Denis
parent 47440bc2cc
commit 8a478c47ac
29 changed files with 361 additions and 107 deletions

View file

@ -1,5 +1,7 @@
package logutils
//go:generate mockgen -package logutils -source log.go -destination log_mock.go
type Log interface {
Fatalf(format string, args ...interface{})
Errorf(format string, args ...interface{})