Skip to content

Commit

Permalink
uograde to go 1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
danielqsj committed Sep 8, 2021
1 parent b2d6bdd commit 7246c7a
Show file tree
Hide file tree
Showing 20 changed files with 76 additions and 218 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sudo: required
language: go

go:
- 1.16
- 1.17

env:
- GOFLAGS="-mod=readonly"
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ vet:

build: promu
@echo ">> building binaries"
@$(PROMU) build --prefix $(PREFIX)
@$(GO) mod vendor
@$(PROMU) build --prefix $(PREFIX)


crossbuild: promu
@echo ">> crossbuilding binaries"
@$(PROMU) crossbuild --go=1.16
@$(PROMU) crossbuild --go=1.17

tarball: promu
@echo ">> building release tarball"
Expand Down
39 changes: 32 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,28 +1,53 @@
module github.com/danielqsj/kafka_exporter

go 1.16
go 1.17

require (
github.com/Shopify/sarama v1.29.1
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-github v17.0.0+incompatible // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/krallistic/kazoo-go v0.0.0-20170526135507-a15279744f4e
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.30.0
github.com/prometheus/procfs v0.7.3 // indirect
github.com/prometheus/promu v0.12.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da // indirect
github.com/xdg/scram v1.0.3
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/net v0.0.0-20210907225631-ff17edfbf26d // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/eapache/go-resiliency v1.2.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/golang/snappy v0.0.3 // indirect
github.com/google/go-github/v25 v25.1.3 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.2 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/klauspost/compress v1.12.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pierrec/lz4 v2.6.0+incompatible // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/promu v0.12.0 // indirect
github.com/xdg/stringprep v1.0.3 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f // indirect
golang.org/x/text v0.3.6 // indirect
google.golang.org/appengine v1.6.7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY=
github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
github.com/google/go-github/v25 v25.1.3 h1:Ht4YIQgUh4l4lc80fvGnw60khXysXvlgPxPP8uJG3EA=
github.com/google/go-github/v25 v25.1.3/go.mod h1:6z5pC69qHtrPJ0sXPsj4BLnd82b+r6sLB7qcBoRZqpw=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
Expand Down
28 changes: 0 additions & 28 deletions vendor/github.com/Shopify/sarama/go.mod

This file was deleted.

93 changes: 0 additions & 93 deletions vendor/github.com/Shopify/sarama/go.sum

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/alecthomas/template/go.mod

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/alecthomas/units/go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/github.com/alecthomas/units/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/cespare/xxhash/v2/go.mod

This file was deleted.

Empty file.
1 change: 0 additions & 1 deletion vendor/github.com/golang/snappy/go.mod

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/hashicorp/go-uuid/go.mod

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/jcmturner/aescts/v2/go.mod

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/jcmturner/aescts/v2/go.sum

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/github.com/jcmturner/dnsutils/v2/go.mod

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/jcmturner/dnsutils/v2/go.sum

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/github.com/prometheus/procfs/go.mod

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/prometheus/procfs/go.sum

This file was deleted.

Loading

0 comments on commit 7246c7a

Please sign in to comment.