Fix linting issues

This commit is contained in:
Lena Fuhrimann 2018-04-21 11:53:46 +02:00
parent aacce5cfdf
commit 200fc5c8c1
2 changed files with 8 additions and 2 deletions

View file

@ -1,11 +1,17 @@
language: go
go:
- stable
before_install:
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- go get -u github.com/alecthomas/gometalinter
- gometalinter --install
install:
- dep ensure
script:
- make lint
- make test
- make

View file

@ -20,8 +20,8 @@ const (
// Errors that may be returned from an S3 client.
var (
ErrBucketDoesNotExist = errors.New("The specified bucket does not exist.")
ErrKeyDoesNotExist = errors.New("The specified key does not exist.")
ErrBucketDoesNotExist = errors.New("The specified bucket does not exist.") // nolint: golint
ErrKeyDoesNotExist = errors.New("The specified key does not exist.") // nolint: golint
)
// handleHTTPError handles HTTP errors.