🃏

Miscelaneous details about golang

Fine details about the language

go get vs go install

go get, downloads and adds in GOPATH. go install, add

Creating mutex

When embedding a mutex in a struct. any functions associated to the mutex should utilize a pointer receiver.

Questions:

  • What is go11modules env variable?