The notion of GOPATH development manner, which precedes Go modules, is now deprecated. before Go modules, the GOPATH was used to install binaries and compiled packages, along with downloading supply code to specified http://golangtutorial.com/create-the-gopath-environment-variable-in-windows/