Can't seem to import modules from other directory trees #39618
Labels
FrozenDueToAge
modules
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
I've been going through hell coverting out project to use modules. I now realize the module name can't end in
v1
but I still can't seem to solve all the problems. I created a simple minimal example to show the error.What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I've created two servers that require the use of two services, but I can't seem to properly include the service module from my server module.
https://github.com/cleblanc189/test.go
cd src && go mod tidy
What did you expect to see?
What did you see instead?
go: test.go/src/server/v1beta1@v0.0.0 requires
test.go/src/service/v1beta1@v0.0.0: unrecognized import path "test.go/src/service/v1beta1" (https fetch: Get https://test.go/src/ser
vice/v1beta1?go-get=1: dial tcp: lookup test.go: no such host)
The text was updated successfully, but these errors were encountered: