linter: add metalinter to Makefile & apply some fixes

This commit is contained in:
Zach Ramsay
2017-09-22 13:31:01 -04:00
parent 0418d32276
commit fe66a683bc
13 changed files with 65 additions and 131 deletions

View File

@ -23,6 +23,7 @@ func New() MemStore {
}
// assertStorage just makes sure we implement the Storage interface
// nolint [ megacheck, deadcode ]
func (s MemStore) assertStorage() keys.Storage {
return s
}