cmd/go: malformed module path "xxxx/xxxx/uuid" missing dot in first path element when migrating from GOPATH based dep to go mod #35020
Labels
FrozenDueToAge
GoCommand
cmd/go
modules
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I had a folder structure as follows:
my-auth-server
usesmy-api-server/my-utils/uuid
as a depenencyNow, when I used the GOPATH based module system, this worked fine. But when using go modules, when I run
go run main.go
inmy-auth-server
it returned error:build command-line-arguments: cannot load my-api-server/my-utils/uuid: malformed module path "my-api-server/my-utils/uuid": missing dot in first path element
What did you expect to see?
My project should have been started successfully
What did you see instead?
The text was updated successfully, but these errors were encountered: