lang-go

Go Tooling

Notes based on: Go Tooling in Action – YouTube go build go install go get go get -d: download the code, but do not compile anything. go get -u: even if the code is already stored in GOPATH, download the latest version. go get -v: enable verbose mode. See: github.com/campoy/go-tooling-workshop/blob/master/1-source-code/1-workspace/1-intro.md The Go tool will first try …

Go Tooling Read More »

Install Go on macOS and GOPATH, Import Path, Package & Module

Installation Download pkg and install by opening pkg file and following installation process. Also see: Installing multiple Go versions  Install Go Tools See: https://github.com/golang/tools Setting GOPATH and GOBIN Add /usr/local/go/bin to ~/.zshrc or ~/.bashrc. Also see: https://github.com/golang/go/wiki/SettingGOPATH Open a new terminal window and check GOPATH and GOBIN go help Package Go programs are organized into …

Install Go on macOS and GOPATH, Import Path, Package & Module Read More »