Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/vgo: internal directories inconsistently handled from package main in repo root #24052
What version of Go are you using (
I tried this and reproduced your failure. In my case, it happened because vgo picked the wrong module path, which made it go look elsewhere for the go.pennock.tech imports, which then were not importable from the github path. That is, after the failure I had:
If I start with the module path into the go.mod file, everything is fine:
The auto-initializer is not perfect, unfortunately.