A local go module should be handled like an external go repository by using the `GOPATH` env variable appropriately.