Skip to content

Commit

Permalink
Merge pull request #5 from fastbill/upgrade-go113
Browse files Browse the repository at this point in the history
Upgrade to Go 1.13
  • Loading branch information
perajovic authored Oct 15, 2019
2 parents defd5f5 + 2ded118 commit 2c34854
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 40 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ issues:
- dupl
- goconst
- gosec

linters-settings:
gocyclo:
min-complexity: 10
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
language: go

go:
- 1.11.x
- 1.13.x

install:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
- go mod vendor
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.19.1

script:
- go test -race -cover ./...
Expand Down
33 changes: 0 additions & 33 deletions Gopkg.lock

This file was deleted.

3 changes: 0 additions & 3 deletions Gopkg.toml

This file was deleted.

9 changes: 9 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module github.com/fastbill/go-httperrors/v2

go 1.13

require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.1.4
)
6 changes: 6 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.1.4 h1:ToftOQTytwshuOSj6bDSolVUa3GINfJP/fg3OkkOzQQ=
github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

0 comments on commit 2c34854

Please sign in to comment.