GoLang Tutorial
GoLang is super fast server side language for web framework and Restful API. It's must faster than other traditional language and supports concurrency.
How to fix "go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src"
If you encounter the below error
"go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src"
There are a few solutions you can apply.
Solution 1 Export command
Run the below command
export GO111MODULE="on"
Solution 2 Change Go Env
go env -w GO111MODULE=on
Solution 2 worked for me. I am on mac
Solution 3 Use Set for Windows
set GO111MODULE=on
On Windwos instead of export use set