fjl / gencodec

Command gencodec generates marshaling methods for Go struct types.
MIT License
55 stars 27 forks source link

Support go mod projects #11

Closed Nanyan closed 4 years ago

Nanyan commented 4 years ago

Now we can support both traditional projects under $GOPATH and go mod projects which are not under $GOPATH. Fixes #10

Note:should change the path in vendor.json and in internal test files when merging.

fjl commented 4 years ago

Sorry, I have already pushed the changes to make Go modules work in a similar way. Thank you for the pull request!