Browse Source

metalinter

pull/1842/head
Ethan Buchman 7 years ago
parent
commit
7fe3d5dac2
2 changed files with 1 additions and 8 deletions
  1. +1
    -1
      Makefile
  2. +0
    -7
      db/stats.go

+ 1
- 1
Makefile View File

@ -77,7 +77,6 @@ fmt:
metalinter:
@echo "==> Running linter"
gometalinter.v2 --vendor --deadline=600s --disable-all \
--enable=maligned \
--enable=deadcode \
--enable=goconst \
--enable=goimports \
@ -94,6 +93,7 @@ metalinter:
--enable=vetshadow \
./...
#--enable=maligned \
#--enable=gas \
#--enable=aligncheck \
#--enable=dupl \


+ 0
- 7
db/stats.go View File

@ -1,7 +0,0 @@
package db
func mergeStats(src, dest map[string]string, prefix string) {
for key, value := range src {
dest[prefix+key] = value
}
}

Loading…
Cancel
Save