Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Error while dockerizing an app using gqlgen in go workspaces #2273

Closed
Archisman-Mridha opened this issue Jul 5, 2022 · 0 comments
Closed

Comments

@Archisman-Mridha
Copy link

Archisman-Mridha commented Jul 5, 2022

I tried to dockerize a Go 1.8 app using gqlgen. This app is located in a go workspace. When i am trying to build the docker image i am getting this error :

  • found packages generated (generated.go) and resolvers (resolver.go) in /app
  • schema.resolvers.go:7:2: package auth/generated is not in GOROOT (/usr/local/go/src/auth/generatedserver.go)
  • package - auth/resolvers is not in GOROOT (/usr/local/go/src/auth/resolvers)

versions

  • gqlgen version 0.17.12
  • go version 1.8
@frederikhors frederikhors converted this issue into discussion #2274 Jul 5, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant