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

gentests: _testgen/gentest.go uses internal import from aqwari.net/xml #69

Closed
kortschak opened this issue Oct 9, 2018 · 0 comments
Closed

Comments

@kortschak
Copy link
Contributor

When I attempt to follow the instructions in the README.md I get the following.

~/src/github.com/droyo/go-xml/gentests [master]$ go generate
_testgen/testgen.go:14:2: use of internal package aqwari.net/xml/internal/gen not allowed
gentest.go:5: running "go": exit status 1
~/src/github.com/droyo/go-xml/gentests [master]$ git rev-parse HEAD
d48ea63e5a613b3e7b7360e2d0f3476ea77c263d

From following the godoc, it appears that this is because this package is in fact aqwari.net/xml, though this isn't noted in the README here, and there is no import comment restricting incorrect imports.

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

1 participant