I’m trying to build a simple CRUD API based on a tutorial. In the tutorial I was told to use go mod, with the module name “github.com/myusername/myappname”. But when I try to run it fail because it try to reach the actual github site.
I also try to not include the github but only “myappname”, but it fail because a “missing dot”.
When I try to use a module name with dot, like “example.com/myappname”, it also return an error because the package can’t be found