Skip to content

Update module path to vanity import #1

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

adodon2go
Copy link

soheilhy/cmux is a dependency of etcd open-source project. The problem that I tried to fix was umbiguous import below:

adodon@eti-dev8-kvm2:~/work/adodon2go/wcm-common$ go mod tidy
go: downloading github.com/cisco-app-networking/nsm-nse v0.2.5-vl3
go: downloading google.golang.org/grpc v1.27.1
go: downloading github.com/tiswanso/networkservicemesh/k8s v0.2.0-vl3
go: downloading github.com/golang/mock v1.4.4
go: downloading github.com/tiswanso/networkservicemesh/pkg v0.2.0-vl3
go: downloading golang.org/x/net v0.0.0-20200707034311-ab3426394381
go: downloading github.com/prometheus/client_golang v1.7.1
go: downloading k8s.io/utils v0.0.0-20200720150651-0bdb4ca86cbc
go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.2.0
go: downloading golang.org/x/tools v0.0.0-20200811153730-74512f09e4b0
go: downloading k8s.io/apiextensions-apiserver v0.18.1
go: downloading github.com/opentracing/opentracing-go v1.2.0
go: downloading github.com/tiswanso/networkservicemesh/k8s/pkg/apis v0.2.0-vl3
go: downloading github.com/prometheus/common v0.10.0
go: downloading k8s.io/klog/v2 v2.0.0
go: downloading k8s.io/cli-runtime v0.18.1
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/uber/jaeger-lib v2.2.0+incompatible
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/solo-io/service-mesh-hub v0.7.4
go: downloading sigs.k8s.io/controller-runtime v0.6.2
go: downloading istio.io/api v0.0.0-20200819225923-c78f387f78a2
go: downloading github.com/gorilla/mux v1.7.4
go: downloading github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/go-logr/logr v0.1.0
go: downloading github.com/prometheus/procfs v0.1.3
go: downloading sigs.k8s.io/kustomize v2.0.3+incompatible
go: downloading go.uber.org/atomic v1.6.0
go: downloading istio.io/client-go v0.0.0-20200812230733-f5504d568313
go: downloading github.com/hashicorp/go-multierror v1.1.0
go: downloading github.com/tiswanso/examples v0.2.3-vl3
go: downloading sigs.k8s.io/external-dns v0.7.2
go: downloading github.com/imdario/mergo v0.3.9
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading github.com/onsi/ginkgo v1.13.0
go: downloading github.com/spf13/cobra v1.0.0
go: downloading github.com/solo-io/skv2 v0.10.0
go: downloading golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/evanphx/json-patch v4.5.0+incompatible
go: downloading google.golang.org/appengine v1.6.6
go: downloading github.com/Azure/go-autorest/autorest v0.10.0
go: downloading github.com/googleapis/gnostic v0.3.1
go: downloading golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae
go: downloading github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
go: downloading istio.io/gogo-genproto v0.0.0-20200720193312-b523a30fe746
go: downloading gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading go.uber.org/zap v1.15.0
go: downloading google.golang.org/genproto v0.0.0-20200722002428-88e341933a54
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.0
go: downloading github.com/google/go-cmp v0.5.1
go: downloading github.com/rotisserie/eris v0.4.0
go: downloading github.com/cpuguy83/go-md2man v1.0.10
go: downloading github.com/coreos/etcd v3.3.17+incompatible
go: downloading github.com/go-logr/zapr v0.1.1
go: downloading github.com/Azure/go-autorest/logger v0.2.0
go: downloading github.com/gophercloud/gophercloud v0.3.0
go: downloading github.com/tiswanso/networkservicemesh/controlplane v0.2.0-vl3
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading cloud.google.com/go v0.61.0
go: downloading go.uber.org/multierr v1.5.0
go: downloading go.etcd.io/etcd v3.3.13+incompatible
go: downloading golang.org/x/mod v0.3.0
go: downloading k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
go: downloading github.com/Azure/go-autorest/autorest/mocks v0.4.0
go: downloading github.com/mitchellh/hashstructure v1.0.0
go: downloading github.com/solo-io/protoc-gen-ext v0.0.9
go: downloading github.com/russross/blackfriday v1.5.2
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/inconshreveable/mousetrap v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899
go: downloading github.com/tiswanso/networkservicemesh/controlplane/api v0.2.0-vl3
go: downloading github.com/tiswanso/networkservicemesh/utils v0.2.0-vl3
go: downloading github.com/stretchr/objx v0.2.0
go: downloading honnef.co/go/tools v0.0.1-2020.1.4
go: downloading github.com/tiswanso/networkservicemesh/sdk v0.2.0-vl3
go: downloading github.com/emicklei/go-restful v2.11.1+incompatible
go: downloading github.com/tiswanso/networkservicemesh/forwarder/api v0.2.0-vl3
go: downloading github.com/elazarl/goproxy v0.0.0-20190711103511-473e67f1d7d2
go: downloading github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
go: downloading golang.org/x/lint v0.0.0-20200302205851-738671d3881b
go: downloading gomodules.xyz/jsonpatch/v2 v2.0.1
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.14.6
go: downloading github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e
go: downloading github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966
go: downloading go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/coreos/bbolt v1.3.3
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading google.golang.org/grpc/examples v0.0.0-20200818224027-0f73133e3aa3
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/spf13/viper v1.7.0
go: downloading github.com/go-openapi/spec v0.19.5
go: downloading github.com/elazarl/goproxy/ext v0.0.0-20190711103511-473e67f1d7d2
go: downloading go.etcd.io/bbolt v1.3.3
go: downloading github.com/spf13/afero v1.3.4
go: downloading gopkg.in/ini.v1 v1.51.1
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/pelletier/go-toml v1.6.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/go-openapi/jsonreference v0.19.3
go: downloading github.com/go-openapi/jsonpointer v0.19.3
go: downloading github.com/go-openapi/swag v0.19.6
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/smartystreets/goconvey v1.6.4
go: downloading github.com/mailru/easyjson v0.7.0
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
go: downloading github.com/jtolds/gls v4.20.0+incompatible
go: downloading github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
cisco-app-networking.github.io/wcm-common/wcmd/pkg/store imports
go.etcd.io/etcd/clientv3 tested by
go.etcd.io/etcd/clientv3.test imports
github.com/coreos/etcd/integration imports
github.com/soheilhy/cmux tested by
github.com/soheilhy/cmux.test imports
google.golang.org/grpc/examples/helloworld/helloworld: ambiguous import: found package google.golang.org/grpc/examples/helloworld/helloworld in multiple modules:
google.golang.org/grpc v1.31.0 (/home/adodon/go/pkg/mod/google.golang.org/[email protected]/examples/helloworld/helloworld)
google.golang.org/grpc/examples v0.0.0-20200818224027-0f73133e3aa3 (/home/adodon/go/pkg/mod/google.golang.org/grpc/[email protected]/helloworld/helloworld)

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.

1 participant