campoy / jsonenums

This tool is similar to golang.org/x/tools/cmd/stringer but generates MarshalJSON and UnmarshalJSON methods.
Apache License 2.0
490 stars 57 forks source link

Fix couldn't load package bug #21

Closed damnever closed 6 years ago

damnever commented 7 years ago

If multiple GOPATH exists and target code is not in first GOPATH will cause the issue.

campoy commented 7 years ago

Thanks for this, could you add some tests to this?

googlebot commented 7 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


damnever commented 7 years ago

Ok, test case added!

damnever commented 7 years ago

I signed it!

googlebot commented 7 years ago

CLAs look good, thanks!