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

how to solve ambiguous import #12791

Closed
gitsang opened this issue Mar 22, 2021 · 3 comments
Closed

how to solve ambiguous import #12791

gitsang opened this issue Mar 22, 2021 · 3 comments

Comments

@gitsang
Copy link

gitsang commented Mar 22, 2021

****** imports
        github.com/coreos/etcd/clientv3 tested by
        github.com/coreos/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.32.0 (/root/go/pkg/mod/google.golang.org/grpc@v1.26.0/examples/helloworld/helloworld)
        google.golang.org/grpc/examples v0.0.0-20200828165940-d8ef479ab79a (/root/go/pkg/mod/google.golang.org/grpc/examples@v0.0.0-20200828165940-d8ef479ab79a/helloworld/helloworld)
@ptabor
Copy link
Contributor

ptabor commented Mar 22, 2021

Which version of cmux do you depend on ?

To make it work, you need to depend on unstable one:

github.com/soheilhy/cmux v0.1.5-0.20210205191134-5ec6847320e5

As cmux with soheilhy/cmux#81 was not yet released.

@soheilhy

I'm not sure what happend in:
soheilhy/cmux@995a22b

@gitsang
Copy link
Author

gitsang commented Mar 26, 2021

Thanks, it work.

By the way, my project depend on cmux@v0.1.4

@gitsang gitsang closed this as completed Mar 26, 2021
@soheilhy
Copy link
Contributor

I just created the v0.1.5 release: https://github.com/soheilhy/cmux/releases/tag/v0.1.5

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

No branches or pull requests

3 participants