fjl / gencodec

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

Supporting project using go mod? #10

Closed kevinho closed 4 years ago

kevinho commented 5 years ago

We have a project using go mod, and not under gopath, when i use this tool, it throws:

can't find package containing mypackage/*.go
file.go:66: running "gencodec": exit status 1
Nanyan commented 5 years ago

It seems that the author no longer maintains this project.

Try this fork: github.com/youchainhq/gencodec

kevinho commented 5 years ago

great job

fjl commented 5 years ago

I am still maintaining this project!

Nanyan commented 5 years ago

Great! I will create a pull request soon.

fjl commented 5 years ago

Sorry, I have already pushed the changes to make go module work.

fjl commented 5 years ago

Please try the master branch.