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

fix #296 - add go modules support #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s-kostyaev
Copy link

@s-kostyaev s-kostyaev commented Jul 5, 2019

Add go modules support with golang.org/x/tools/go/packages

Signed-off-by: Sergey Kostyaev <sergey.kostyaev@bitfury.com>
@Julusian
Copy link

This works nicely for me.

I had to change the generate command to //go:generate go run gopkg.in/src-d/go-kallax.v1/generator/cli/kallax gen. It would be good to document this requirement in the readme.

And for anyone else wanting to test I added a temporary line to my go.mod file to use this PR: replace gopkg.in/src-d/go-kallax.v1 => github.com/s-kostyaev/go-kallax v1.3.6-0.20190705185553-021d805e3744

@iorlas
Copy link

iorlas commented Jul 24, 2019

Confirming, works good. It just needs to be confirmed to be working for non-mod projects for backward compat

@felipemfp
Copy link

@roobre, can you help to fix the failing tests?

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

Successfully merging this pull request may close these issues.

None yet

4 participants