Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 903 Bytes

1.1.md

File metadata and controls

37 lines (24 loc) · 903 Bytes

Go Setup

Local install (macOS)

The easiest way to install go is with brew, macOS' package manager.

brew install go

To ensure it has been installed, you can type:

go version
# or
go env

Exercises

Where is go actually installed? See anything in go env that is similar?

Hints:

  • which <command> locates a binary.
  • ls -l <file> will tell you if it's a symlink.
  • a symlink can point to another symlink!

Tips

Working with different versions of go? Some options include asdf-golang or linking other brew versions. The simplest solution would probably be docker.

Further reading

The go playground is a great resource to quickly test snippets of code.


up -- next