Replies: 8 comments 5 replies
-
Can you attach your go.mod? |
Beta Was this translation helpful? Give feedback.
-
My go.mod file is empty, when i try to run the go mody tidy command it throws the error described. I also include the tools.go in my project as described in the doc
|
Beta Was this translation helpful? Give feedback.
-
Oh, can you try these steps?
And can you show which gqlgen version of this project before you try to reinitialize it? |
Beta Was this translation helpful? Give feedback.
-
I tried this steps but i've got the same result. The previous version of the gqlgen was v0.14.0. I noticed that even with the v0.15.0 i have the same result. The mod tidy works as intended if i run:
This is the correct go.mod generated:
|
Beta Was this translation helpful? Give feedback.
-
I found that when i try to use go mod tidy with the last version, in my go directory the importer creates two different folders: edit: I'm on a windows machine |
Beta Was this translation helpful? Give feedback.
-
Yes, same problem I am facing.. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
and running
Would be great if someone can help. |
Beta Was this translation helpful? Give feedback.
-
Basically you can comment out |
Beta Was this translation helpful? Give feedback.
-
What happened?
While i was reinitializing the go.mod file in my project go outputs this error:
What did you expect?
If i manually install the gqlgen@v0.14.0 it works perfectly
versions
gqlgen version
? v0.16.0go version
? 1.16Beta Was this translation helpful? Give feedback.
All reactions