Relative Content

Tag Archive for gorepository

Way of bypassing a Go module?

So I am trying to compile some older Go code. The main.go file uses a bunch of other packages that I have locally on within the directory. The issue is go sees it as a go module and wants it to be in a repository. I don’t understand why this is necessary if I have all the code I need locally. The error looks something like this.

Way of bypassing Golang module?

So I am trying to compile some older golang code. The main.go file uses a bunch of other packages that I have locally on within the directory. The issue is go sees it as a go module and wants it to be in a repository. I don’t understand why this is necessary if I have all the code I need locally. The error looks something like this.