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

Fix yaml-v2 import path #1

Closed
wants to merge 1 commit into from
Closed

Conversation

justinsb
Copy link

I'm not sure where the problem lies, but the documented import path for yaml-v2 is gopkg.in/yaml.v2

This fix means that I able to go get github.com/ghodss/yaml

Without this fix, I get this error:
package gopkg.in/v2/yaml: unrecognized import path "gopkg.in/v2/yaml"

@ghodss
Copy link
Owner

ghodss commented Jan 13, 2015

Thanks for the PR - looks like gopkg.in has disabled the gopkg.in/v2/yaml style. Looks like prefixing with "yaml" is not necessary, so I created a new commit here 3bc1590. Let me know if it works. Thanks!

@ghodss ghodss closed this Jan 13, 2015
@justinsb
Copy link
Author

Thanks for the speedy fix! Works great.

(And you're right, the alias is not necessary.)

dims referenced this pull request in dims/yaml Nov 2, 2018
Add UnmarshalStrict for strict yaml unmarshaling
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.

2 participants