The idea of GOPATH improvement mode, which precedes Go modules, is currently deprecated. Prior to Go modules, the GOPATH was used to install binaries and compiled packages, and also downloading source code to specified http://golangtutorial.com/create-the-gopath-environment-variable-in-windows/