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

Update package:yaml in go.mod #116

Closed
roylee0704 opened this issue Jul 28, 2018 · 3 comments · Fixed by #117
Closed

Update package:yaml in go.mod #116

roylee0704 opened this issue Jul 28, 2018 · 3 comments · Fixed by #117

Comments

@roylee0704
Copy link
Contributor

roylee0704 commented Jul 28, 2018

Hey Nick! :)

I'm getting the following error while trying to vgo mod -vendor your package:

vgo mod -vendor
go: github.com/nicksnyder/go-i18n/v2@v2.0.0-beta.3: parsing go.mod: go.mod:6: invalid module: gopkg.in/yaml.v2 should be .v2, not v1 (v1.2.1-gopkgin-v2.2.1)

You might want to consider regenerate go.mod file with latest go1.10.3, and then create a new release tag :)

Detailed to the issue: golang/go#24099


p/s: I have tried it, it will resolve the issue mentioned above :)

@roylee0704 roylee0704 changed the title Update pacakge:yaml in go.mod Update package:yaml in go.mod Jul 28, 2018
nicksnyder added a commit that referenced this issue Jul 28, 2018
@nicksnyder
Copy link
Owner

Thanks for reporting, will fix!

nicksnyder added a commit that referenced this issue Jul 28, 2018
@nicksnyder
Copy link
Owner

v2.0.0-beta.4 is released

@roylee0704
Copy link
Contributor Author

roylee0704 commented Aug 3, 2018

Hey you left out /v2 ;) I submitted a PR(#118) to fix that for you. :)

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 a pull request may close this issue.

2 participants