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

gqlgen must be run from inside your $GOPATH #386

Closed
CreatCodeBuild opened this issue Oct 17, 2018 · 2 comments
Closed

gqlgen must be run from inside your $GOPATH #386

CreatCodeBuild opened this issue Oct 17, 2018 · 2 comments

Comments

@CreatCodeBuild
Copy link

Expected Behaviour

gqlgen can run anywhere and works with go module systems

Actual Behavior

gqlgen must be run from inside your $GOPATH

Minimal graphql.schema and models to reproduce

NA

@CreatCodeBuild
Copy link
Author

With the introduction of go modules in 1.11, I started to write all my application code outside $GOPATH because I don't want them to be importable. I still write library code in $GOPATH.

Since gelgen is a tool for application development, it should be able to run in any file dir.

@vektah
Copy link
Collaborator

vektah commented Oct 17, 2018

Dupe of #226

@vektah vektah closed this as completed Oct 17, 2018
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

No branches or pull requests

2 participants