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

multiple modules #2089

Closed
beihai0xff opened this issue Oct 9, 2019 · 1 comment
Closed

multiple modules #2089

beihai0xff opened this issue Oct 9, 2019 · 1 comment

Comments

@beihai0xff
Copy link

beihai0xff commented Oct 9, 2019

  • With issues:

    • Use the search tool before opening a new issue.
    • Please provide source code and commit sha if you found a bug.
    • Review existing issues and provide feedback or react to them.
  • go version:1.13

  • gin version (or commit ref):1.4.0

  • operating system:

Description

When I use gin and build,there is someting wrong go module like this:
build what5: cannot load github.com/ugorji/go/codec: ambiguous import: found github.com/ugorji/go/codec in multiple modules: github.com/ugorji/go v1.1.4 (C:\Users\beihai\go\pkg\mod\github.com\ugorji\[email protected]\codec) github.com/ugorji/go/codec v0.0.0-20181022190402-e5e69e061d4f (C:\Users\beihai\go\pkg\mod\github.com\ugorji\go\[email protected])

So I try to add github.com/ugorji/go v1.1.7 in my go.mod file,and it works.
Mybe you should fix this in new releases

Screenshots

Annotation 2019-10-09 130944

@thinkerou
Copy link
Member

#1673

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

No branches or pull requests

2 participants