Closed negz closed 5 years ago
Write the generated files alongside the first Go file of the module, rather than to its presumed path under GOPATH. This change assumes:
I believe the above are always true.
Fixes #5
I have:
make reviewable
I've tested that this PR still works with an old fashioned $GOPATH setup, but have not yet tested that it works with Go modules.
$GOPATH
Description of your changes
Write the generated files alongside the first Go file of the module, rather than to its presumed path under GOPATH. This change assumes:
I believe the above are always true.
Fixes #5
Checklist
I have:
make reviewable
to ensure this PR is ready for review.