#Repo does not have a valid module path

9 messages · Page 1 of 1 (latest)

mellow harbor
#

what does your go.mod contains?

upbeat slate
#

I would guess that your go.mod specifies module rcon instead of module github.com/vibeisveryo/rcon

mellow harbor
#

it needs to be package github.com/vibe.../rcon

lament locust
#

In go.mod module github.com/vibeisveryo/rcon

#

package i think should remain as main

#

Oh wait no i got confused with other person asking about go install your package should change as well since you can't import main packages

mellow harbor
#

my bad i meant module <link to the repo> instead of package..
you also should not copy what i send, it's for demonstration to get the message across
just to be sure you should share the actual links to github and pkg.go,dev, and the current content of your go.mod

mellow harbor
#

ah i see,
double checked and: replacing module <link> and removing package in the go.mod should be correct

#

yeah it was a slip up and i said package when i meant module