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

@ -5,6 +5,8 @@ for key management, transaction signing, and query validation.
Please read the README and godoc to see how to
configure the server for your application.
*/
// nolint: goimports
package server
import (
@ -12,8 +14,8 @@ import (
"io/ioutil"
"net/http"
data "github.com/tendermint/go-wire/data"
"github.com/tendermint/go-crypto/keys/server/types"
data "github.com/tendermint/go-wire/data"
"github.com/pkg/errors"
)