Install Go
Download and install go for your machine from https://golang.org/dl/
Mac OS - M1 - https://golang.org/dl/go1.17.3.darwin-arm64.pkgbrew install go
Add it to your Path
Add the following to your .bashrc or zshrc file
Code Block |
---|
export PATH="$PATH:$(go env GOPATH)/bin" |
IntelliJ Integration
Install Go Plugin
In IntelliJ, click Preferences, Plugins and search for Go. Click Install.
...