Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for Go 1.11 Modules #834

Closed
wants to merge 12 commits into from
Closed

support for Go 1.11 Modules #834

wants to merge 12 commits into from

Conversation

bravecorvus
Copy link

No description provided.

@peterbourgon
Copy link
Member

Does Go kit not work with module-enabled downstream projects currently?

@bravecorvus
Copy link
Author

I don't know. But I figured you guys might as well support it at the go-kit/kit package level. Up to you. Cheers

@peterbourgon
Copy link
Member

It is important to me that Go kit remains compatible with the most recent version of all of its dependencies. Concretely, I don't want to bind us to e.g. v2.x.x of a dependency, and then have to continuously bump the version in our go.mod/go.sum as that dependency continues to upgrade itself. If there is a way to keep this property with modules, I'm happy to do it.

@ChrisHines
Copy link
Member

ChrisHines commented Feb 16, 2019

I agree that keeping Go kit compatible with the most recent version of all dependencies is important. But I also think that it makes sense to have a go.mod file that specifies the versions of dependencies that we have tested with. I think we should make sure that the go.mod file gets updated at least in combination with new tagged releases of Go kit. That go.mod file then allows projects that depend on Go kit and may stay pinned to a tagged release and perhaps not the most recent tagged release have a way to know which versions of our dependencies worked at that point in time.

I believe we can have a go.mod file while also having our CI builds continue to track the newest dependency versions. We can use go get -u in the CI builds to upgrade all dependencies to their newest release before running go test.

@bravecorvus
Copy link
Author

bravecorvus commented Feb 16, 2019

If you go this route, just make sure to export GO111MODULE=on until Go 1.12 is released.

Either way I believe I read that the old GOPATH based workflow is going to be replaced by Go modules this year or next year (likely just by default, but can be re-enabed by environment variable). And with an official Go package management tool, glide/govendor etc will all presumably die out unless Google fumbles the ball badly (which from my experience in using the beta version of Go modules, I think it unlikely).

So it makes sense you don't want to get tied to old versions of your dependencies. But if u consider vendoring software a type of dependency, it makes sense to jump ship to the incoming official standard.

I would suggest maybe try using Go modules for smaller projects and see how you like it then decide. I'm a pretty big fan of it myself.

@ChrisHines
Copy link
Member

I just checked out this PR and tried go mod tidy. I was surprised to get a checksum error:

go: verifying go.etcd.io/etcd@v3.3.12+incompatible: checksum mismatch
        downloaded: h1:xR2YQOYo5JV5BMrUj9i1kcf2rEbpCQKHH2sKTtpAHiQ=
        go.sum:     h1:V6PRYRGpU4k5EajJaaj/GL3hqIdzyPnBU8aPUp+35yw=

@ChrisHines
Copy link
Member

Similarly go test ./... gave me:

go: verifying github.com/apache/thrift@v0.12.0: checksum mismatch
        downloaded: h1:ymFY8b00T66exzV1OxAnIA8mawFjPyH6l0wjuv8zTxY=
        go.sum:     h1:pODnxUFNcjP9UTLZGTdeh+j16A8lJbRvD3rOtrk/7bs=

This is on go version go1.11.2 windows/amd64.

@bravecorvus
Copy link
Author

go mod tidy
go: finding github.com/VividCortex/gohistogram v1.0.0
go: finding github.com/clbanning/x2j v0.0.0-20180326210544-5e605d46809c
go: finding github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
go: finding github.com/aws/aws-sdk-go-v2 v0.7.0
go: finding github.com/cenkalti/backoff v2.1.1+incompatible
go: finding github.com/apache/thrift v0.12.0
go: finding github.com/coreos/go-semver v0.2.0
go: finding github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43
go: finding github.com/aws/aws-sdk-go v1.16.34
go: finding github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
go: finding github.com/opentracing/basictracer-go v1.0.0
go: finding github.com/go-logfmt/logfmt v0.4.0
go: finding github.com/pborman/uuid v1.2.0
go: finding github.com/hashicorp/go-rootcerts v1.0.0
go: finding github.com/nats-io/nkeys v0.0.2
go: finding sourcegraph.com/sourcegraph/appdash v0.0.0-20190107175209-d9ea5c54f7dc
go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
go: finding github.com/nats-io/go-nats v1.7.0
go: finding github.com/hashicorp/go-cleanhttp v0.5.0
go: finding github.com/lightstep/lightstep-tracer-go v0.15.6
go: finding github.com/nats-io/nuid v1.0.0
go: finding github.com/hashicorp/serf v0.8.2
go: finding go.etcd.io/etcd v3.3.12+incompatible
go: finding github.com/mitchellh/mapstructure v1.1.2
go: finding github.com/mitchellh/go-homedir v1.0.0
go: finding github.com/openzipkin/zipkin-go v0.1.5
go: finding github.com/pkg/errors v0.8.1
go: finding gopkg.in/gcfg.v1 v1.2.3
go: finding github.com/oklog/run v1.0.0
go: finding gopkg.in/warnings.v0 v0.1.2
go: finding github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492
go: finding github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f
go: finding github.com/mitchellh/iochan v1.0.0
go: finding github.com/mitchellh/gox v0.4.0
go: finding github.com/gorilla/mux v1.7.0
go: finding github.com/gogo/protobuf v1.2.0
go: finding github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee
go: finding go.opencensus.io v0.19.0
go: finding github.com/hashicorp/consul v1.4.2
go: finding github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
go: finding cloud.google.com/go v0.33.1
go: finding golang.org/x/tools v0.0.0-20181122213734-04b5d21e00f1
go: finding google.golang.org/appengine v1.2.0
go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c
go: finding google.golang.org/grpc v1.16.0
go: finding github.com/hashicorp/logutils v1.0.0
go: finding github.com/golang/lint v0.0.0-20181026193005-c67002cb31c3
go: finding github.com/casbin/casbin v1.8.1
go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
go: finding github.com/onsi/gomega v1.4.3
go: finding git.apache.org/thrift.git v0.0.0-20181218151757-9b75e4fe745a
go: finding github.com/streadway/amqp v0.0.0-20190214145842-a160cc3faae5
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/gorilla/mux v1.6.2
go: finding google.golang.org/appengine v1.3.0
go: finding google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb
go: finding github.com/go-sql-driver/mysql v1.4.0
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
go: finding github.com/sony/gobreaker v0.0.0-20181109014844-d928aaea92e1
go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52
go: finding golang.org/x/net v0.0.0-20181114220301-adae6a3d119a
go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
go: finding google.golang.org/grpc v1.17.0
go: finding golang.org/x/net v0.0.0-20181217023233-e147a9138326
go: finding google.golang.org/grpc v1.18.0
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/ugorji/go v1.1.2
go: finding github.com/prometheus/client_golang v0.9.2
go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: finding github.com/oklog/oklog v0.3.2
go: finding google.golang.org/appengine v1.1.0
go: finding github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8
go: finding github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: finding github.com/miekg/dns v1.1.4
go: finding github.com/google/uuid v1.0.0
go: finding golang.org/x/net v0.0.0-20181201002055-351d144fa1fc
go: finding github.com/golang/lint v0.0.0-20180702182130-06c8688daad7
go: finding github.com/kisielk/gotool v1.0.0
go: finding github.com/prometheus/common v0.0.0-20181126121408-4724e9255275
go: finding github.com/eapache/go-resiliency v1.1.0
go: finding github.com/hashicorp/go-syslog v1.0.0
go: finding github.com/opentracing/opentracing-go v1.0.2
go: finding honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3
go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858
go: finding golang.org/x/sys v0.0.0-20181218192612-074acd46bca6
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/oauth2 v0.0.0-20181120190819-8f65e3013eba
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/pierrec/lz4 v2.0.5+incompatible
go: finding golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b
go: finding cloud.google.com/go v0.34.0
go: finding github.com/openzipkin-contrib/zipkin-go-opentracing v0.3.5
go: finding github.com/golang/mock v1.1.1
go: finding github.com/gucumber/gucumber v0.0.0-20180127021336-7d5c79e832a2
go: finding github.com/Shopify/sarama v1.19.0
go: finding github.com/gorilla/context v1.1.1
go: finding github.com/eapache/queue v1.1.0
go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/shiena/ansicolor v0.0.0-20151119151921-a422bbe96644
go: finding github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: finding golang.org/x/tools v0.0.0-20190214163553-c161412db0d0
go: finding github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a
go: finding github.com/performancecopilot/speed v3.0.0+incompatible
go: finding github.com/mitchellh/cli v1.0.0
go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
go: finding github.com/hashicorp/mdns v1.0.0
go: finding github.com/client9/misspell v0.3.4
go: finding golang.org/x/net v0.0.0-20181106065722-10aee1819953
go: finding github.com/hashicorp/memberlist v0.1.3
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding github.com/openzipkin/zipkin-go v0.1.3
go: finding golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e
go: finding github.com/coreos/etcd v3.3.12+incompatible
go: finding github.com/onsi/ginkgo v1.7.0
go: finding github.com/bgentry/speakeasy v0.1.0
go: finding golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
go: finding github.com/hashicorp/go-msgpack v0.5.3
go: finding github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec
go: finding github.com/grpc-ecosystem/grpc-gateway v1.6.2
go: finding golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5
go: finding github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310
go: finding google.golang.org/genproto v0.0.0-20181109154231-b5d43981345b
go: finding github.com/hashicorp/go-uuid v1.0.1
go: finding github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
go: finding github.com/golang/mock v1.2.0
go: finding github.com/ghodss/yaml v1.0.0
go: finding cloud.google.com/go v0.26.0
go: finding github.com/prometheus/common v0.0.0-20181218105931-67670fe90761
go: finding github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
go: finding github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c
go: finding github.com/hashicorp/go-immutable-radix v1.0.0
go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
go: finding github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: finding github.com/hashicorp/go-sockaddr v1.0.0
go: finding github.com/hashicorp/go.net v0.0.1
go: finding github.com/fatih/color v1.7.0
go: finding google.golang.org/api v0.0.0-20181220000619-583d854617af
go: finding github.com/posener/complete v1.1.1
go: finding golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3
go: finding golang.org/x/text v0.3.0
go: finding github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
go: finding github.com/hashicorp/go-uuid v1.0.0
go: finding github.com/hudl/fargo v1.2.0
go: finding github.com/hashicorp/golang-lru v0.5.0
go: finding github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
go: finding github.com/miekg/dns v1.0.14
go: finding github.com/hashicorp/go-multierror v1.0.0
go: finding golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc
go: finding github.com/edsrzf/mmap-go v1.0.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: finding github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/aws/aws-sdk-go v1.16.34
go: downloading google.golang.org/grpc v1.18.0
go: downloading golang.org/x/time v0.0.0-20181108054448-85acf8d2951c
go: downloading github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
go: downloading github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a
go: downloading github.com/openzipkin/zipkin-go v0.1.5
go: downloading github.com/openzipkin-contrib/zipkin-go-opentracing v0.3.5
go: downloading sourcegraph.com/sourcegraph/appdash v0.0.0-20190107175209-d9ea5c54f7dc
go: downloading github.com/VividCortex/gohistogram v1.0.0
go: downloading github.com/prometheus/client_golang v0.9.2
go: downloading go.opencensus.io v0.19.0
go: downloading github.com/apache/thrift v0.12.0
go: downloading github.com/opentracing/opentracing-go v1.0.2
go: downloading github.com/hudl/fargo v1.2.0
go: downloading github.com/sony/gobreaker v0.0.0-20181109014844-d928aaea92e1
go: downloading github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a
go: downloading github.com/cenkalti/backoff v2.1.1+incompatible
go: downloading github.com/Shopify/sarama v1.19.0
go: downloading github.com/go-logfmt/logfmt v0.4.0
go: downloading gopkg.in/gcfg.v1 v1.2.3
go: downloading github.com/clbanning/x2j v0.0.0-20180326210544-5e605d46809c
go: downloading github.com/lightstep/lightstep-tracer-go v0.15.6
go: downloading github.com/miekg/dns v1.1.4
go: downloading github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
go: downloading github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: downloading google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb
go: downloading github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492
go: downloading github.com/golang/protobuf v1.2.0
go: downloading github.com/streadway/amqp v0.0.0-20190214145842-a160cc3faae5
go: downloading github.com/hashicorp/consul v1.4.2
go: downloading github.com/pborman/uuid v1.2.0
go: downloading github.com/oklog/oklog v0.3.2
go: finding github.com/nats-io/gnatsd/server latest
go: downloading github.com/gogo/protobuf v1.2.0
go: downloading golang.org/x/sys v0.0.0-20181218192612-074acd46bca6
go: finding github.com/influxdata/influxdb1-client/v2 latest
go: downloading go.etcd.io/etcd v3.3.12+incompatible
go: downloading github.com/influxdata/influxdb1-client/v2 v2.0.0-20190124185755-16c852ea613f
go: downloading github.com/opentracing/basictracer-go v1.0.0
go: downloading github.com/performancecopilot/speed v3.0.0+incompatible
go: downloading golang.org/x/net v0.0.0-20181217023233-e147a9138326
go: downloading github.com/prometheus/common v0.0.0-20181218105931-67670fe90761
go: downloading golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9
go: finding github.com/nats-io/gnatsd v1.4.1
go: downloading github.com/aws/aws-sdk-go-v2 v0.7.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/eapache/queue v1.1.0
go: downloading github.com/onsi/gomega v1.4.3
go: downloading golang.org/x/tools v0.0.0-20190214163553-c161412db0d0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: downloading github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
go: downloading github.com/nats-io/gnatsd v1.4.1
go: downloading github.com/pierrec/lz4 v2.0.5+incompatible
go: finding github.com/go-stack/stack v1.8.0
go: finding github.com/smartystreets/goconvey/convey latest
go: downloading github.com/go-stack/stack v1.8.0
go: downloading github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
go: downloading gopkg.in/warnings.v0 v0.1.2
go: downloading github.com/google/uuid v1.0.0
go: downloading github.com/nats-io/go-nats v1.7.0
go: downloading golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
go: downloading github.com/coreos/etcd v3.3.12+incompatible
go: finding github.com/smartystreets/goconvey latest
go: downloading github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c
go: finding github.com/pact-foundation/pact-go/dsl latest
go: downloading github.com/nats-io/nkeys v0.0.2
go: downloading github.com/onsi/ginkgo v1.7.0
go: finding github.com/pact-foundation/pact-go v0.0.13
go: downloading github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
go: downloading github.com/stretchr/testify v1.3.0
go: downloading github.com/oklog/run v1.0.0
go: downloading github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db
go: downloading github.com/google/go-cmp v0.2.0
go: downloading github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec
go: downloading golang.org/x/text v0.3.0
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: finding github.com/kr/pretty v0.1.0
go: downloading github.com/pact-foundation/pact-go v0.0.13
go: downloading github.com/casbin/casbin v1.8.1
go: downloading github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
go: downloading github.com/hashicorp/serf v0.8.2
go: downloading github.com/hashicorp/go-uuid v1.0.1
go: downloading github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af
go: downloading github.com/kr/pretty v0.1.0
go: downloading github.com/gorilla/mux v1.7.0
go: downloading github.com/mitchellh/mapstructure v1.1.2
go: downloading github.com/edsrzf/mmap-go v1.0.0
go: downloading github.com/eapache/go-resiliency v1.1.0
go: downloading github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: downloading github.com/ugorji/go v1.1.2
go: downloading github.com/hpcloud/tail v1.0.0
go: downloading github.com/ugorji/go/codec v0.0.0-20190204201341-e444a5086c43
go: downloading github.com/nats-io/nuid v1.0.0
go: downloading github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c
go: downloading github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
go: downloading github.com/hashicorp/memberlist v0.1.3
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/coreos/pkg/capnslog latest
go: finding github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: finding github.com/golang/groupcache/lru latest
go: finding github.com/xiang90/probing latest
go: finding github.com/jonboulle/clockwork v0.1.0
go: downloading github.com/hashicorp/go-multierror v1.0.0
go: downloading github.com/coreos/go-semver v0.2.0
go: downloading github.com/hashicorp/go-sockaddr v1.0.0
go: finding github.com/Shopify/toxiproxy/client latest
go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
go: finding github.com/nats-io/gnatsd/test latest
go: downloading github.com/hashicorp/go-msgpack v0.5.3
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.6.2
go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
go: downloading github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: finding github.com/coreos/pkg latest
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
go: finding github.com/golang/groupcache latest
go: downloading github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef
go: downloading github.com/hashicorp/go-rootcerts v1.0.0
go: downloading github.com/hashicorp/go-immutable-radix v1.0.0
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: downloading gopkg.in/fsnotify.v1 v1.4.7
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.0
go: finding github.com/coreos/bbolt v1.3.2
go: downloading github.com/hashicorp/golang-lru v0.5.0
go: finding github.com/soheilhy/cmux v0.1.4
go: finding github.com/tmc/grpc-websocket-proxy/wsproxy latest
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/franela/goblin latest
go: finding github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
go: finding go.uber.org/zap v1.9.1
go: downloading github.com/coreos/bbolt v1.3.2
go: finding github.com/tmc/grpc-websocket-proxy latest
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5
go: downloading github.com/soheilhy/cmux v0.1.4
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/franela/goblin v0.0.0-20181003173013-ead4ad1d2727
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
go: downloading go.uber.org/zap v1.9.1
go: finding github.com/Shopify/toxiproxy v2.1.4+incompatible
go: downloading github.com/Shopify/toxiproxy v2.1.4+incompatible
go: finding github.com/kr/text v0.1.0
go: finding github.com/kr/pty v1.1.1
go: downloading github.com/hashicorp/logutils v1.0.0
go: downloading github.com/kr/text v0.1.0
go: finding github.com/coreos/go-systemd/journal latest
go: finding github.com/smartystreets/assertions latest
go: finding go.uber.org/atomic v1.3.2
go: finding go.uber.org/multierr v1.1.0
go: finding github.com/kardianos/osext latest
go: finding go.etcd.io/bbolt v1.3.2
go: finding github.com/jtolds/gls v4.2.1+incompatible
go: downloading github.com/jtolds/gls v4.2.1+incompatible
go: downloading go.uber.org/multierr v1.1.0
go: downloading github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
go: downloading github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac
go: downloading go.uber.org/atomic v1.3.2
go: finding github.com/coreos/go-systemd latest
go: downloading github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76
go: downloading go.etcd.io/bbolt v1.3.2
go: finding github.com/gopherjs/gopherjs/js latest
go: finding github.com/gopherjs/gopherjs latest
go: downloading github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e

Finished for me on macOS 10.14.3

@bravecorvus
Copy link
Author

lol.png

lul

@ChrisHines
Copy link
Member

I upgraded go Go 1.11.5 and go mod tidy worked without the previous checksum error. It looks like this was a result of golang/go#27093, which was fixed and back ported to Go 1.11.4. See also: golang/go#29278.

@ChrisHines
Copy link
Member

The issue with the influxdb client is known (influxdata/influxdb1-client#5) and other users describe how to resolve it in influxdata/influxdb1-client#5 (comment).

@bravecorvus
Copy link
Author

$go test ./...
ok      github.com/go-kit/kit/auth/basic
ok      github.com/go-kit/kit/auth/casbin
# github.com/go-kit/kit/examples/addsvc/pb
examples/addsvc/pb/addsvc.pb.go:23:11: undefined: proto.ProtoPackageIsVersion3
ok      github.com/go-kit/kit/auth/jwt  0.033s
ok      github.com/go-kit/kit/circuitbreaker    0.333s
# github.com/go-kit/kit/sd/eureka [github.com/go-kit/kit/sd/eureka.test]
sd/eureka/registrar.go:118:17: undefined: fargo.HTTPResponseStatusCode
ok      github.com/go-kit/kit/cmd/kitgen        7.853s
?       github.com/go-kit/kit/cmd/kitgen/templates      [no test files]
ok      github.com/go-kit/kit/endpoint  (cached)
FAIL    github.com/go-kit/kit/examples/addsvc/cmd/addsvc [build failed]
ok      github.com/go-kit/kit/log       (cached)
ok      github.com/go-kit/kit/log/deprecated_levels     (cached)
ok      github.com/go-kit/kit/log/level (cached)
ok      github.com/go-kit/kit/log/logrus        (cached)
ok      github.com/go-kit/kit/log/syslog        (cached)
ok      github.com/go-kit/kit/log/term  (cached)
ok      github.com/go-kit/kit/metrics   (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch        0.116s
ok      github.com/go-kit/kit/metrics/cloudwatch2       0.029s
ok      github.com/go-kit/kit/metrics/dogstatsd (cached)
ok      github.com/go-kit/kit/metrics/expvar    0.071s
ok      github.com/go-kit/kit/metrics/generic   (cached)
ok      github.com/go-kit/kit/metrics/graphite  (cached)
ok      github.com/go-kit/kit/metrics/influx    0.081s
ok      github.com/go-kit/kit/metrics/influxstatsd      (cached)
ok      github.com/go-kit/kit/metrics/internal/convert  (cached)
ok      github.com/go-kit/kit/metrics/internal/lv       (cached)
ok      github.com/go-kit/kit/metrics/multi     (cached)
# github.com/go-kit/kit/transport/grpc/_grpc_test/pb
transport/grpc/_grpc_test/pb/test.pb.go:23:11: undefined: proto.ProtoPackageIsVersion3
ok      github.com/go-kit/kit/metrics/pcp       7.896s
ok      github.com/go-kit/kit/metrics/prometheus        0.085s
ok      github.com/go-kit/kit/metrics/statsd    (cached)
ok      github.com/go-kit/kit/ratelimit (cached)
ok      github.com/go-kit/kit/sd        (cached)
ok      github.com/go-kit/kit/sd/consul 0.040s
ok      github.com/go-kit/kit/sd/dnssrv (cached)
panic: codecgen version mismatch: current: 8, need 10. Re-generate file: /Users/andrewlee/go/pkg/mod/go.etcd.io/etcd@v3.3.12+incompatible/client/keys.generated.go

goroutine 1 [running]:
go.etcd.io/etcd/client.init.0()
        /Users/andrewlee/go/pkg/mod/go.etcd.io/etcd@v3.3.12+incompatible/client/keys.generated.go:45 +0x104
FAIL    github.com/go-kit/kit/sd/etcd   0.023s
ok      github.com/go-kit/kit/sd/etcdv3 0.033s
FAIL    github.com/go-kit/kit/sd/eureka [build failed]
ok      github.com/go-kit/kit/sd/internal/instance      (cached)
ok      github.com/go-kit/kit/sd/lb     (cached)
ok      github.com/go-kit/kit/sd/zk     51.128s
ok      github.com/go-kit/kit/tracing/opencensus        5.959s
ok      github.com/go-kit/kit/tracing/opentracing       0.028s
ok      github.com/go-kit/kit/tracing/zipkin    4.397s
ok      github.com/go-kit/kit/transport/amqp    0.081s
FAIL    github.com/go-kit/kit/transport/grpc [build failed]
ok      github.com/go-kit/kit/transport/http    1.052s
ok      github.com/go-kit/kit/transport/http/jsonrpc    10.004s
ok      github.com/go-kit/kit/transport/http/proto      0.018s
ok      github.com/go-kit/kit/transport/httprp  0.027s
panic: Failed start of NATS

goroutine 1 [running]:
github.com/go-kit/kit/transport/nats_test.init.0()
        /Users/andrewlee/Desktop/kit/transport/nats/subscriber_test.go:37 +0x106
FAIL    github.com/go-kit/kit/transport/nats    2.027s
ok      github.com/go-kit/kit/util/conn 0.257s

@bravecorvus
Copy link
Author

this is a fix, but probably no good if go-kit/kit needs v2.

@ChrisHines
Copy link
Member

I get similar test failures on Windows, and a few more as well:

C:\Users\Chris\Go\src\github.com\go-kit\kit>go version
go version go1.11.5 windows/amd64

C:\Users\Chris\Go\src\github.com\go-kit\kit>go test ./...
# github.com/go-kit/kit/examples/addsvc/pb
examples\addsvc\pb\addsvc.pb.go:23:11: undefined: proto.ProtoPackageIsVersion3
ok      github.com/go-kit/kit/auth/basic        (cached)
ok      github.com/go-kit/kit/auth/casbin       (cached)
ok      github.com/go-kit/kit/auth/jwt  (cached)
ok      github.com/go-kit/kit/circuitbreaker    (cached)
# github.com/go-kit/kit/sd/eureka [github.com/go-kit/kit/sd/eureka.test]
sd\eureka\registrar.go:118:17: undefined: fargo.HTTPResponseStatusCode
# github.com/go-kit/kit/transport/grpc/_grpc_test/pb
transport\grpc\_grpc_test\pb\test.pb.go:23:11: undefined: proto.ProtoPackageIsVersion3
--- FAIL: TestProcess (0.31s)
    --- FAIL: TestProcess/anonfields (0.06s)
        --- FAIL: TestProcess/anonfields/flat (0.02s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\anonfields\\flat\\gokit.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\flatgokit.go204379935".
        --- FAIL: TestProcess/anonfields/default (0.04s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\anonfields\\default\\endpoints\\endpoints.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultendpoints-endpoints.go798663666".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\anonfields\\default\\http\\http.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaulthttp-http.go403760297".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\anonfields\\default\\service\\service.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultservice-service.go603758580".
    --- FAIL: TestProcess/foo (0.06s)
        --- FAIL: TestProcess/foo/flat (0.01s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\foo\\flat\\gokit.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\flatgokit.go291122883".
        --- FAIL: TestProcess/foo/default (0.04s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\foo\\default\\endpoints\\endpoints.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultendpoints-endpoints.go854093126".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\foo\\default\\http\\http.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaulthttp-http.go638214125".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\foo\\default\\service\\service.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultservice-service.go413893224".
    --- FAIL: TestProcess/profilesvc (0.07s)
        --- FAIL: TestProcess/profilesvc/flat (0.02s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\profilesvc\\flat\\gokit.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\flatgokit.go403467943".
        --- FAIL: TestProcess/profilesvc/default (0.05s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\profilesvc\\default\\http\\http.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaulthttp-http.go304521178".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\profilesvc\\default\\service\\service.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultservice-service.go677375345".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\profilesvc\\default\\endpoints\\endpoints.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultendpoints-endpoints.go985429020".
    --- FAIL: TestProcess/stringservice (0.07s)
        --- FAIL: TestProcess/stringservice/flat (0.02s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\stringservice\\flat\\gokit.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\flatgokit.go142274763".
        --- FAIL: TestProcess/stringservice/default (0.04s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\stringservice\\default\\endpoints\\endpoints.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultendpoints-endpoints.go086086574".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\stringservice\\default\\http\\http.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaulthttp-http.go274595125".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\stringservice\\default\\service\\service.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultservice-service.go879205136".
    --- FAIL: TestProcess/underscores (0.05s)
        --- FAIL: TestProcess/underscores/flat (0.01s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\underscores\\flat\\gokit.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\flatgokit.go750434095".
        --- FAIL: TestProcess/underscores/default (0.04s)
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\underscores\\default\\service\\service.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultservice-service.go397253826".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\underscores\\default\\endpoints\\endpoints.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaultendpoints-endpoints.go867171129".
            main_test.go:68:
            main_test.go:69: Processing output didn't match "testdata\\underscores\\default\\http\\http.go". Results recorded in "C:\\Users\\Chris\\AppData\\Local\\Temp\\defaulthttp-http.go198367044".
--- FAIL: TestImportPath (0.00s)
    --- FAIL: TestImportPath/"/gopath/"_+_"/gopath/src/somewhere" (0.00s)
        path_test.go:14: Expected no error, got "\"/gopath/src/somewhere\" is not an absolute path"
    --- FAIL: TestImportPath/"/gopath"_+_"/gopath/src/somewhere" (0.00s)
        path_test.go:14: Expected no error, got "\"/gopath/src/somewhere\" is not an absolute path"
    --- FAIL: TestImportPath/"/gopath:/other"_+_"/gopath/src/somewhere" (0.00s)
        path_test.go:14: Expected no error, got "\"/gopath/src/somewhere\" is not an absolute path"
    --- FAIL: TestImportPath/"/other:/gopath/"_+_"/gopath/src/somewhere" (0.00s)
        path_test.go:14: Expected no error, got "\"/gopath/src/somewhere\" is not an absolute path"
--- FAIL: TestImportPathSadpath (0.00s)
    --- FAIL: TestImportPathSadpath/""_+_"/gopath/src/somewhere" (0.00s)
        path_test.go:36: Expected "\"/gopath/src/somewhere\" is not an absolute path" to include "is not in"
FAIL
FAIL    github.com/go-kit/kit/cmd/kitgen        3.613s
?       github.com/go-kit/kit/cmd/kitgen/templates      [no test files]
?       github.com/go-kit/kit/cmd/logtest       [no test files]
ok      github.com/go-kit/kit/endpoint  (cached)
FAIL    github.com/go-kit/kit/examples/addsvc/cmd/addsvc [build failed]
ok      github.com/go-kit/kit/log       (cached)
ok      github.com/go-kit/kit/log/deprecated_levels     (cached)
ok      github.com/go-kit/kit/log/level (cached)
ok      github.com/go-kit/kit/log/logrus        (cached)
ok      github.com/go-kit/kit/log/term  (cached)
ok      github.com/go-kit/kit/metrics   (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch        (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch2       (cached)
ok      github.com/go-kit/kit/metrics/dogstatsd (cached)
ok      github.com/go-kit/kit/metrics/expvar    (cached)
ok      github.com/go-kit/kit/metrics/generic   (cached)
ok      github.com/go-kit/kit/metrics/graphite  (cached)
ok      github.com/go-kit/kit/metrics/influx    (cached)
ok      github.com/go-kit/kit/metrics/influxstatsd      (cached)
ok      github.com/go-kit/kit/metrics/internal/convert  (cached)
ok      github.com/go-kit/kit/metrics/internal/lv       (cached)
ok      github.com/go-kit/kit/metrics/multi     (cached)
ok      github.com/go-kit/kit/metrics/pcp       (cached)
ok      github.com/go-kit/kit/metrics/prometheus        (cached)
ok      github.com/go-kit/kit/metrics/statsd    (cached)
ok      github.com/go-kit/kit/ratelimit (cached)
ok      github.com/go-kit/kit/sd        (cached)
ok      github.com/go-kit/kit/sd/consul (cached)
ok      github.com/go-kit/kit/sd/dnssrv (cached)
panic: codecgen version mismatch: current: 8, need 10. Re-generate file: C:/Users/Chris/Go/pkg/mod/go.etcd.io/etcd@v3.3.12+incompatible/client/keys.generated.go

goroutine 1 [running]:
go.etcd.io/etcd/client.init.0()
        C:/Users/Chris/Go/pkg/mod/go.etcd.io/etcd@v3.3.12+incompatible/client/keys.generated.go:45 +0x10b
FAIL    github.com/go-kit/kit/sd/etcd   2.706s
ok      github.com/go-kit/kit/sd/etcdv3 (cached)
FAIL    github.com/go-kit/kit/sd/eureka [build failed]
ok      github.com/go-kit/kit/sd/internal/instance      (cached)
ok      github.com/go-kit/kit/sd/lb     (cached)
ok      github.com/go-kit/kit/sd/zk     (cached)
ok      github.com/go-kit/kit/tracing/opencensus        (cached)
ok      github.com/go-kit/kit/tracing/opentracing       (cached)
ok      github.com/go-kit/kit/tracing/zipkin    (cached)
ok      github.com/go-kit/kit/transport/amqp    (cached)
FAIL    github.com/go-kit/kit/transport/grpc [build failed]
ok      github.com/go-kit/kit/transport/http    (cached)
ok      github.com/go-kit/kit/transport/http/jsonrpc    (cached)
ok      github.com/go-kit/kit/transport/http/proto      (cached)
ok      github.com/go-kit/kit/transport/httprp  (cached)
ok      github.com/go-kit/kit/transport/nats    (cached)
ok      github.com/go-kit/kit/util/conn (cached)

@bravecorvus
Copy link
Author

bravecorvus commented Feb 16, 2019

Also, if you are going to with Go modules, you will want to set GO111MODULE=on environment variable in Travis-CI and CircleCI for the Go 1.11 testing env.

@ChrisHines
Copy link
Member

this is a fix, but probably no good if go-kit/kit needs v2.

If you're referring to the influxdb issue, I'm pretty sure we're still getting the right version. The go.mod file requires github.com/influxdata/influxdb1-client v0.0.0-20190124185755-16c852ea613f which references the most recent commit hash of that package. The problem before was that the go tool was confused by the import path containing a /v2 path segment so it was looking for a v2 module by default, but that repo has no version tags and it is not a v2 module. The workaround in the issue I linked before simply got the go tool to add the dependency in the go.mod file in a different way that didn't get confused by that.

@bravecorvus
Copy link
Author

O I see

@bravecorvus
Copy link
Author

Were those tests passing before the Go module changes?

@ChrisHines
Copy link
Member

The kitgen tests are known to fail on Windows (#740), so we can ignore those failures here. But the other tests all pass for me in GOPATH mode after a go get -u -d -t ./... to refresh all the dependencies. Which matches with what we see in the TravisCI and CircleCI builds. So it looks like some of the versions we're getting from the go.mod file are causing problems.

@bravecorvus
Copy link
Author

That's unfortunate.

@bravecorvus
Copy link
Author

bravecorvus commented Feb 16, 2019

I'll still commit a version that go getted go.mod/go.sum with the those flags.

@ChrisHines
Copy link
Member

This error:

# github.com/go-kit/kit/examples/addsvc/pb
..\..\pb\addsvc.pb.go:23:11: undefined: proto.ProtoPackageIsVersion3

is fixed by building against github.com/golang/protobuf at commit golang/protobuf@8d0c54c or newer.

So these commands show that in action:

C:\Users\Chris\proj\kit\examples\addsvc\cmd\addsvc>go get github.com/golang/protobuf@8d0c54c1246661d9a51ca0ba455d22116d485eaa
go: finding github.com/golang/protobuf 8d0c54c1246661d9a51ca0ba455d22116d485eaa
go: downloading github.com/golang/protobuf v1.2.1-0.20181127190454-8d0c54c12466

C:\Users\Chris\proj\kit\examples\addsvc\cmd\addsvc>go build
go: finding github.com/golang/protobuf v1.2.1-0.20181127190454-8d0c54c12466

The etcd error looks more complicated. The most recent release of etcd (3.3.12) is on a branch that diverged from master over a year ago and there have been over 2000 commits to master since then (https://github.com/etcd-io/etcd/branches). Go modules prefers tagged releases over the master branch, but GOPATH based go get just tracks the master branch. Fortunately etcd has added a go.mod file on the master branch, so the situation is likely to improve once they tag a new release based on that.

go get go.etcd.io/etcd@master

github.com/pact-foundation/pact-go has some 1.0.0-beta releases that go modules ignore by default so:

go get github.com/pact-foundation/pact-go@v1.0.0-beta.3

github.com/hudl/fargo has release tags without a v prefix which are ignored by go modules, so we get an older version from 2016 instead (hudl/fargo#69).

go get github.com/hudl/fargo@1.3.1

After these steps go test ./... works for me (with the exception of the previously mentioned kitgen tests that were already broken on Windows).

Getting the etcd go.mod file from master in the mix helps get rid of a lot of // indirect entries the go-kit go.mod. After a go mod tidy I end up with this:

module github.com/go-kit/kit

require (
	github.com/DataDog/zstd v1.3.5 // indirect
	github.com/Shopify/sarama v1.20.1 // indirect
	github.com/Shopify/toxiproxy v2.1.4+incompatible // indirect
	github.com/VividCortex/gohistogram v1.0.0
	github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
	github.com/apache/thrift v0.12.0
	github.com/aws/aws-sdk-go v1.16.36
	github.com/aws/aws-sdk-go-v2 v0.7.0
	github.com/casbin/casbin v1.8.1
	github.com/cenkalti/backoff v2.1.1+incompatible // indirect
	github.com/clbanning/x2j v0.0.0-20180326210544-5e605d46809c // indirect
	github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
	github.com/coreos/go-systemd v0.0.0-20190212144455-93d5ec2c7f76 // indirect
	github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
	github.com/davecgh/go-spew v1.1.1
	github.com/dgrijalva/jwt-go v3.2.0+incompatible
	github.com/edsrzf/mmap-go v1.0.0 // indirect
	github.com/franela/goblin v0.0.0-20181003173013-ead4ad1d2727 // indirect
	github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8 // indirect
	github.com/go-logfmt/logfmt v0.4.0
	github.com/go-stack/stack v1.8.0
	github.com/gogo/protobuf v1.2.0 // indirect
	github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef // indirect
	github.com/golang/protobuf v1.2.1-0.20190109072247-347cf4a86c1c
	github.com/google/uuid v1.1.0 // indirect
	github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
	github.com/gorilla/mux v1.7.0
	github.com/gorilla/websocket v1.4.0 // indirect
	github.com/grpc-ecosystem/grpc-gateway v1.7.0 // indirect
	github.com/hashicorp/consul v1.4.2
	github.com/hashicorp/go-cleanhttp v0.5.0 // indirect
	github.com/hashicorp/go-rootcerts v1.0.0 // indirect
	github.com/hashicorp/go-sockaddr v1.0.1 // indirect
	github.com/hashicorp/go-version v1.1.0 // indirect
	github.com/hashicorp/serf v0.8.2 // indirect
	github.com/hudl/fargo v1.2.1-0.20160928160052-14ced469f7dc
	github.com/influxdata/influxdb1-client v0.0.0-20190124185755-16c852ea613f
	github.com/jtolds/gls v4.2.1+incompatible // indirect
	github.com/lightstep/lightstep-tracer-go v0.15.6
	github.com/miekg/dns v1.1.4 // indirect
	github.com/mitchellh/go-homedir v1.1.0 // indirect
	github.com/mitchellh/go-testing-interface v1.0.0 // indirect
	github.com/mitchellh/mapstructure v1.1.2 // indirect
	github.com/nats-io/gnatsd v1.4.1
	github.com/nats-io/go-nats v1.7.0
	github.com/nats-io/nkeys v0.0.2 // indirect
	github.com/nats-io/nuid v1.0.0 // indirect
	github.com/oklog/oklog v0.3.2
	github.com/oklog/run v1.0.0 // indirect
	github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 // indirect
	github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect
	github.com/opentracing/basictracer-go v1.0.0 // indirect
	github.com/opentracing/opentracing-go v1.0.2
	github.com/openzipkin-contrib/zipkin-go-opentracing v0.3.5
	github.com/openzipkin/zipkin-go v0.1.5
	github.com/pact-foundation/pact-go v1.0.0-beta.3
	github.com/pborman/uuid v1.2.0
	github.com/performancecopilot/speed v3.0.0+incompatible
	github.com/pkg/errors v0.8.1
	github.com/prometheus/client_golang v0.9.2
	github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect
	github.com/prometheus/common v0.2.0 // indirect
	github.com/prometheus/procfs v0.0.0-20190209105433-f8d8b3f739bd // indirect
	github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec
	github.com/sirupsen/logrus v1.3.0
	github.com/smartystreets/assertions v0.0.0-20190215210624-980c5ac6f3ac // indirect
	github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c // indirect
	github.com/sony/gobreaker v0.0.0-20181109014844-d928aaea92e1
	github.com/streadway/amqp v0.0.0-20190214183023-884228600bc9
	github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a
	github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect
	go.etcd.io/etcd v0.0.0-20190215181705-784daa04988c
	go.opencensus.io v0.19.0
	golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
	golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a // indirect
	golang.org/x/time v0.0.0-20181108054448-85acf8d2951c
	golang.org/x/tools v0.0.0-20190214204934-8dcb7bc8c7fe
	google.golang.org/genproto v0.0.0-20190215211957-bd968387e4aa // indirect
	google.golang.org/grpc v1.18.0
	gopkg.in/gcfg.v1 v1.2.3 // indirect
	gopkg.in/warnings.v0 v0.1.2 // indirect
	sourcegraph.com/sourcegraph/appdash v0.0.0-20190107175209-d9ea5c54f7dc
)

@bravecorvus
Copy link
Author

Thanks for the help in fixing the versions. I'm still getting the following errors.

go: finding go.etcd.io/etcd v0.0.0-20190215181705-784daa04988c
go: finding github.com/hudl/fargo v1.2.1-0.20160928160052-14ced469f7dc
ok      github.com/go-kit/kit/auth/basic        (cached)
ok      github.com/go-kit/kit/auth/casbin       0.016s
ok      github.com/go-kit/kit/auth/jwt  0.025s
ok      github.com/go-kit/kit/circuitbreaker    (cached)
ok      github.com/go-kit/kit/cmd/kitgen        5.673s
?       github.com/go-kit/kit/cmd/kitgen/templates      [no test files]
ok      github.com/go-kit/kit/endpoint  (cached)
?       github.com/go-kit/kit/examples/addsvc/cmd/addcli        [no test files]
ok      github.com/go-kit/kit/examples/addsvc/cmd/addsvc        0.034s
?       github.com/go-kit/kit/examples/addsvc/pb        [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addendpoint   [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addservice    [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addtransport  [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc      [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc/add_service-remote   [no test files]
?       github.com/go-kit/kit/examples/apigateway       [no test files]
?       github.com/go-kit/kit/examples/profilesvc       [no test files]
?       github.com/go-kit/kit/examples/profilesvc/client        [no test files]
?       github.com/go-kit/kit/examples/profilesvc/cmd/profilesvc        [no test files]
?       github.com/go-kit/kit/examples/shipping [no test files]
?       github.com/go-kit/kit/examples/shipping/booking [no test files]
?       github.com/go-kit/kit/examples/shipping/cargo   [no test files]
?       github.com/go-kit/kit/examples/shipping/handling        [no test files]
?       github.com/go-kit/kit/examples/shipping/inmem   [no test files]
?       github.com/go-kit/kit/examples/shipping/inspection      [no test files]
?       github.com/go-kit/kit/examples/shipping/location        [no test files]
?       github.com/go-kit/kit/examples/shipping/routing [no test files]
?       github.com/go-kit/kit/examples/shipping/tracking        [no test files]
?       github.com/go-kit/kit/examples/shipping/voyage  [no test files]
?       github.com/go-kit/kit/examples/stringsvc1       [no test files]
?       github.com/go-kit/kit/examples/stringsvc2       [no test files]
?       github.com/go-kit/kit/examples/stringsvc3       [no test files]
?       github.com/go-kit/kit/examples/stringsvc4       [no test files]
ok      github.com/go-kit/kit/log       (cached)
ok      github.com/go-kit/kit/log/deprecated_levels     (cached)
ok      github.com/go-kit/kit/log/level (cached)
ok      github.com/go-kit/kit/log/logrus        (cached)
ok      github.com/go-kit/kit/log/syslog        (cached)
ok      github.com/go-kit/kit/log/term  (cached)
ok      github.com/go-kit/kit/metrics   (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch        (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch2       (cached)
?       github.com/go-kit/kit/metrics/discard   [no test files]
ok      github.com/go-kit/kit/metrics/dogstatsd (cached)
ok      github.com/go-kit/kit/metrics/expvar    (cached)
ok      github.com/go-kit/kit/metrics/generic   (cached)
ok      github.com/go-kit/kit/metrics/graphite  (cached)
ok      github.com/go-kit/kit/metrics/influx    (cached)
ok      github.com/go-kit/kit/metrics/influxstatsd      (cached)
ok      github.com/go-kit/kit/metrics/internal/convert  (cached)
ok      github.com/go-kit/kit/metrics/internal/lv       (cached)
?       github.com/go-kit/kit/metrics/internal/ratemap  [no test files]
ok      github.com/go-kit/kit/metrics/multi     (cached)
ok      github.com/go-kit/kit/metrics/pcp       (cached)
ok      github.com/go-kit/kit/metrics/prometheus        0.095s
?       github.com/go-kit/kit/metrics/provider  [no test files]
ok      github.com/go-kit/kit/metrics/statsd    (cached)
?       github.com/go-kit/kit/metrics/teststat  [no test files]
ok      github.com/go-kit/kit/ratelimit (cached)
ok      github.com/go-kit/kit/sd        (cached)
ok      github.com/go-kit/kit/sd/consul (cached)
ok      github.com/go-kit/kit/sd/dnssrv (cached)
panic: codecgen version mismatch: current: 8, need 10. Re-generate file: /Users/andrewlee/go/pkg/mod/go.etcd.io/etcd@v0.0.0-20190215181705-784daa04988c/client/keys.generated.go

goroutine 1 [running]:
go.etcd.io/etcd/client.init.0()
        /Users/andrewlee/go/pkg/mod/go.etcd.io/etcd@v0.0.0-20190215181705-784daa04988c/client/keys.generated.go:37 +0x100
FAIL    github.com/go-kit/kit/sd/etcd   0.027s
ok      github.com/go-kit/kit/sd/etcdv3 0.027s
ok      github.com/go-kit/kit/sd/eureka 2.449s
ok      github.com/go-kit/kit/sd/internal/instance      (cached)
ok      github.com/go-kit/kit/sd/lb     (cached)
ok      github.com/go-kit/kit/sd/zk     (cached)
?       github.com/go-kit/kit/tracing   [no test files]
ok      github.com/go-kit/kit/tracing/opencensus        23.294s
ok      github.com/go-kit/kit/tracing/opentracing       (cached)
ok      github.com/go-kit/kit/tracing/zipkin    19.685s
?       github.com/go-kit/kit/transport [no test files]
ok      github.com/go-kit/kit/transport/amqp    (cached)
ok      github.com/go-kit/kit/transport/grpc    10.059s
ok      github.com/go-kit/kit/transport/http    (cached)
ok      github.com/go-kit/kit/transport/http/jsonrpc    (cached)
ok      github.com/go-kit/kit/transport/http/proto      0.025s
ok      github.com/go-kit/kit/transport/httprp  (cached)
panic: Failed start of NATS

goroutine 1 [running]:
github.com/go-kit/kit/transport/nats_test.init.0()
        /Users/andrewlee/Desktop/kit/transport/nats/subscriber_test.go:37 +0x106
FAIL    github.com/go-kit/kit/transport/nats    2.027s
ok      github.com/go-kit/kit/util/conn (cached)

@bravecorvus
Copy link
Author

I'll just try copying your go.mod file directly and see how it goes

@bravecorvus
Copy link
Author

bravecorvus commented Feb 16, 2019

Copy pasted ur go.mod directly, and just ran go test ./...

ok      github.com/go-kit/kit/auth/basic        (cached)
ok      github.com/go-kit/kit/auth/casbin       (cached)
ok      github.com/go-kit/kit/auth/jwt  (cached)
ok      github.com/go-kit/kit/circuitbreaker    (cached)
ok      github.com/go-kit/kit/cmd/kitgen        (cached)
?       github.com/go-kit/kit/cmd/kitgen/templates      [no test files]
ok      github.com/go-kit/kit/endpoint  (cached)
?       github.com/go-kit/kit/examples/addsvc/cmd/addcli        [no test files]
ok      github.com/go-kit/kit/examples/addsvc/cmd/addsvc        (cached)
?       github.com/go-kit/kit/examples/addsvc/pb        [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addendpoint   [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addservice    [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addtransport  [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc      [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc/add_service-remote   [no test files]
?       github.com/go-kit/kit/examples/apigateway       [no test files]
?       github.com/go-kit/kit/examples/profilesvc       [no test files]
?       github.com/go-kit/kit/examples/profilesvc/client        [no test files]
?       github.com/go-kit/kit/examples/profilesvc/cmd/profilesvc        [no test files]
?       github.com/go-kit/kit/examples/shipping [no test files]
?       github.com/go-kit/kit/examples/shipping/booking [no test files]
?       github.com/go-kit/kit/examples/shipping/cargo   [no test files]
?       github.com/go-kit/kit/examples/shipping/handling        [no test files]
?       github.com/go-kit/kit/examples/shipping/inmem   [no test files]
?       github.com/go-kit/kit/examples/shipping/inspection      [no test files]
?       github.com/go-kit/kit/examples/shipping/location        [no test files]
?       github.com/go-kit/kit/examples/shipping/routing [no test files]
?       github.com/go-kit/kit/examples/shipping/tracking        [no test files]
?       github.com/go-kit/kit/examples/shipping/voyage  [no test files]
?       github.com/go-kit/kit/examples/stringsvc1       [no test files]
?       github.com/go-kit/kit/examples/stringsvc2       [no test files]
?       github.com/go-kit/kit/examples/stringsvc3       [no test files]
?       github.com/go-kit/kit/examples/stringsvc4       [no test files]
ok      github.com/go-kit/kit/log       (cached)
ok      github.com/go-kit/kit/log/deprecated_levels     (cached)
ok      github.com/go-kit/kit/log/level (cached)
ok      github.com/go-kit/kit/log/logrus        (cached)
ok      github.com/go-kit/kit/log/syslog        (cached)
ok      github.com/go-kit/kit/log/term  (cached)
ok      github.com/go-kit/kit/metrics   (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch        (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch2       (cached)
?       github.com/go-kit/kit/metrics/discard   [no test files]
ok      github.com/go-kit/kit/metrics/dogstatsd (cached)
ok      github.com/go-kit/kit/metrics/expvar    (cached)
ok      github.com/go-kit/kit/metrics/generic   (cached)
ok      github.com/go-kit/kit/metrics/graphite  (cached)
ok      github.com/go-kit/kit/metrics/influx    (cached)
ok      github.com/go-kit/kit/metrics/influxstatsd      (cached)
ok      github.com/go-kit/kit/metrics/internal/convert  (cached)
ok      github.com/go-kit/kit/metrics/internal/lv       (cached)
?       github.com/go-kit/kit/metrics/internal/ratemap  [no test files]
ok      github.com/go-kit/kit/metrics/multi     (cached)
ok      github.com/go-kit/kit/metrics/pcp       (cached)
ok      github.com/go-kit/kit/metrics/prometheus        (cached)
?       github.com/go-kit/kit/metrics/provider  [no test files]
ok      github.com/go-kit/kit/metrics/statsd    (cached)
?       github.com/go-kit/kit/metrics/teststat  [no test files]
ok      github.com/go-kit/kit/ratelimit (cached)
ok      github.com/go-kit/kit/sd        (cached)
ok      github.com/go-kit/kit/sd/consul (cached)
ok      github.com/go-kit/kit/sd/dnssrv (cached)
ok      github.com/go-kit/kit/sd/etcd   (cached)
ok      github.com/go-kit/kit/sd/etcdv3 (cached)
ok      github.com/go-kit/kit/sd/eureka (cached)
ok      github.com/go-kit/kit/sd/internal/instance      (cached)
ok      github.com/go-kit/kit/sd/lb     (cached)
ok      github.com/go-kit/kit/sd/zk     (cached)
?       github.com/go-kit/kit/tracing   [no test files]
ok      github.com/go-kit/kit/tracing/opencensus        (cached)
ok      github.com/go-kit/kit/tracing/opentracing       (cached)
ok      github.com/go-kit/kit/tracing/zipkin    (cached)
?       github.com/go-kit/kit/transport [no test files]
ok      github.com/go-kit/kit/transport/amqp    (cached)
ok      github.com/go-kit/kit/transport/grpc    (cached)
ok      github.com/go-kit/kit/transport/http    (cached)
ok      github.com/go-kit/kit/transport/http/jsonrpc    (cached)
ok      github.com/go-kit/kit/transport/http/proto      (cached)
ok      github.com/go-kit/kit/transport/httprp  (cached)
panic: Failed start of NATS

goroutine 1 [running]:
github.com/go-kit/kit/transport/nats_test.init.0()
        /Users/andrewlee/Desktop/kit/transport/nats/subscriber_test.go:37 +0x106
FAIL    github.com/go-kit/kit/transport/nats    2.042s
ok      github.com/go-kit/kit/util/conn (cached)

down to 1 error in the transport/nats sub package

@bravecorvus
Copy link
Author

Go 1.12 was just released today. So I will submit a new version of the go.mod file when I have time

@sagikazarmark
Copy link
Contributor

sagikazarmark commented Apr 16, 2019

I just checked out this PR and tried go mod tidy. I was surprised to get a checksum error:

There was a breaking change to the checksum algorithm (actually not the algorithm itself, but the way it is used) in Go 1.11.4, so checksum generated before and after will not be compatible with each other.

It is important to me that Go kit remains compatible with the most recent version of all of its dependencies.

Go module provides a replace directive in the go.mod file allowing to replace a dependency with any version (ones not matching go-kit's requirements) or even a different source (eg. a fork). This, combined with updating dependencies in every release should be enough to stay compatible IMHO.

Also, careful with go get -u -d -t ./... in go modules ON. It will update every dependency and record it in the go.mod file. That means transitive dependencies as well. If you want to update direct dependencies only:

go get $(go list -f '{{if not (or .Main.Indirect)}}{{.Path}}{{end}}' -m all)

@bravecorvus
Copy link
Author

I'll put a new version using Go 1.12.4

@bravecorvus
Copy link
Author

I don't think this was caused by me. Can someone restart? circle-ci-fail

@peterbourgon
Copy link
Member

Just push an empty commit.

@bravecorvus
Copy link
Author

The only test fail on my local machine is now metrics/cloudwatch2

$go test ./...
ok      github.com/go-kit/kit/auth/basic        (cached)
ok      github.com/go-kit/kit/auth/casbin       (cached)
# github.com/go-kit/kit/metrics/cloudwatch2 [github.com/go-kit/kit/metrics/cloudwatch2.test]
metrics/cloudwatch2/cloudwatch2.go:169:22: too many arguments in call to req.Send
        have (context.Context)
        want ()
ok      github.com/go-kit/kit/auth/jwt  0.033s
ok      github.com/go-kit/kit/circuitbreaker    (cached)
ok      github.com/go-kit/kit/cmd/kitgen        20.314s
?       github.com/go-kit/kit/cmd/kitgen/templates      [no test files]
ok      github.com/go-kit/kit/endpoint  (cached)
?       github.com/go-kit/kit/examples/addsvc/cmd/addcli        [no test files]
ok      github.com/go-kit/kit/examples/addsvc/cmd/addsvc        0.041s
?       github.com/go-kit/kit/examples/addsvc/pb        [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addendpoint   [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addservice    [no test files]
?       github.com/go-kit/kit/examples/addsvc/pkg/addtransport  [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc      [no test files]
?       github.com/go-kit/kit/examples/addsvc/thrift/gen-go/addsvc/add_service-remote   [no test files]
?       github.com/go-kit/kit/examples/apigateway       [no test files]
?       github.com/go-kit/kit/examples/profilesvc       [no test files]
?       github.com/go-kit/kit/examples/profilesvc/client        [no test files]
?       github.com/go-kit/kit/examples/profilesvc/cmd/profilesvc        [no test files]
?       github.com/go-kit/kit/examples/shipping [no test files]
?       github.com/go-kit/kit/examples/shipping/booking [no test files]
?       github.com/go-kit/kit/examples/shipping/cargo   [no test files]
?       github.com/go-kit/kit/examples/shipping/handling        [no test files]
?       github.com/go-kit/kit/examples/shipping/inmem   [no test files]
?       github.com/go-kit/kit/examples/shipping/inspection      [no test files]
?       github.com/go-kit/kit/examples/shipping/location        [no test files]
?       github.com/go-kit/kit/examples/shipping/routing [no test files]
?       github.com/go-kit/kit/examples/shipping/tracking        [no test files]
?       github.com/go-kit/kit/examples/shipping/voyage  [no test files]
?       github.com/go-kit/kit/examples/stringsvc1       [no test files]
?       github.com/go-kit/kit/examples/stringsvc2       [no test files]
?       github.com/go-kit/kit/examples/stringsvc3       [no test files]
?       github.com/go-kit/kit/examples/stringsvc4       [no test files]
ok      github.com/go-kit/kit/log       (cached)
ok      github.com/go-kit/kit/log/deprecated_levels     (cached)
ok      github.com/go-kit/kit/log/level (cached)
ok      github.com/go-kit/kit/log/logrus        0.020s
ok      github.com/go-kit/kit/log/syslog        (cached)
ok      github.com/go-kit/kit/log/term  (cached)
ok      github.com/go-kit/kit/log/zap   (cached)
ok      github.com/go-kit/kit/metrics   (cached)
ok      github.com/go-kit/kit/metrics/cloudwatch        (cached)
FAIL    github.com/go-kit/kit/metrics/cloudwatch2 [build failed]
?       github.com/go-kit/kit/metrics/discard   [no test files]
ok      github.com/go-kit/kit/metrics/dogstatsd (cached)
ok      github.com/go-kit/kit/metrics/expvar    (cached)
ok      github.com/go-kit/kit/metrics/generic   (cached)
ok      github.com/go-kit/kit/metrics/graphite  (cached)
ok      github.com/go-kit/kit/metrics/influx    (cached)
ok      github.com/go-kit/kit/metrics/influxstatsd      (cached)
ok      github.com/go-kit/kit/metrics/internal/convert  (cached)
ok      github.com/go-kit/kit/metrics/internal/lv       (cached)
?       github.com/go-kit/kit/metrics/internal/ratemap  [no test files]
ok      github.com/go-kit/kit/metrics/multi     (cached)
ok      github.com/go-kit/kit/metrics/pcp       12.634s
ok      github.com/go-kit/kit/metrics/prometheus        0.107s
?       github.com/go-kit/kit/metrics/provider  [no test files]
ok      github.com/go-kit/kit/metrics/statsd    (cached)
?       github.com/go-kit/kit/metrics/teststat  [no test files]
ok      github.com/go-kit/kit/ratelimit (cached)
ok      github.com/go-kit/kit/sd        (cached)
ok      github.com/go-kit/kit/sd/consul (cached)
ok      github.com/go-kit/kit/sd/dnssrv (cached)
ok      github.com/go-kit/kit/sd/etcd   0.029s
ok      github.com/go-kit/kit/sd/etcdv3 0.032s
ok      github.com/go-kit/kit/sd/eureka 2.499s
ok      github.com/go-kit/kit/sd/internal/instance      (cached)
ok      github.com/go-kit/kit/sd/lb     (cached)
ok      github.com/go-kit/kit/sd/zk     (cached)
?       github.com/go-kit/kit/tracing   [no test files]
ok      github.com/go-kit/kit/tracing/opencensus        2.267s
ok      github.com/go-kit/kit/tracing/opentracing       (cached)
ok      github.com/go-kit/kit/tracing/zipkin    1.166s
?       github.com/go-kit/kit/transport [no test files]
ok      github.com/go-kit/kit/transport/amqp    (cached)
ok      github.com/go-kit/kit/transport/awslambda       (cached)
ok      github.com/go-kit/kit/transport/grpc    0.039s
ok      github.com/go-kit/kit/transport/http    (cached)
ok      github.com/go-kit/kit/transport/http/jsonrpc    3.563s
ok      github.com/go-kit/kit/transport/http/proto      (cached)
ok      github.com/go-kit/kit/transport/httprp  (cached)
ok      github.com/go-kit/kit/transport/nats    1.192s
ok      github.com/go-kit/kit/util/conn (cached)

@peterbourgon
Copy link
Member

Rebase on master should fix.

@bravecorvus
Copy link
Author

bravecorvus commented Apr 16, 2019

I did do a git fetch upstream master earlier this morning (go-kit/kit being the upstream). Would I still need to rebase?

@bravecorvus
Copy link
Author

I just did a git rebase upstream/master right now and i'm getting exactly the same test failure.

@peterbourgon
Copy link
Member

The cloudwatch2 stuff is fixed in master, with 22a2d43. Make sure that's included, and re-fetch the dependencies with e.g.

go get -d -u -v -t github.com/go-kit/kit/metrics/cloudwatch2/...

@bravecorvus
Copy link
Author

img

I'm still getting this error despite being up to date, meaning this is a problem with go.mod dependencies.

@peterbourgon
Copy link
Member

Oh, yeah, I guess you need to update the Cloudwatch 2 dep to latest. (I don't respect modules in local dev or in CI, at the moment.)

@wallyqs wallyqs mentioned this pull request Jun 10, 2019
@plo-
Copy link

plo- commented Oct 16, 2019

Any news please?

@bravecorvus
Copy link
Author

@plo- my forks pretty behind. Lemme try this again from scratch because I forget how to update my fork with upstream changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants