Go 1.11 introduced a new way of building Go code that no longer needs a GOPATH at all. In due course, this will become the default way of building. What’s more, sooner or later, we are going to want to package software that only builds with modules. There should be some package-settable variable that controls whether you want to use modules or not. If you are going to use modules, then the repo should have a go.