What is the difference between Gopath and Goroot?
GOPATH | GOROOT |
---|---|
This must be set in order to get, develop and install packages outside the standard Golang tree. | Must be set only when installing to a specific custom location. |
BY Best Interview Question ON 17 Mar 2020