In preparation for the first Go lesson, please make sure to bring along the following:
- Laptop
We will be using a laptop in order to do practical exercises. If you don't have a laptop, you'll still be able to follow along.
Please also follow the below instructions depending on the operating system for the laptop you have.
- Download and install VSCode
- Download and install the Go Compiler
- Open the terminal application
Applications > Terminal
and run the following command:
mkdir ~/go && echo "export GOPATH=\"$HOME/go\"" >> ~/.bashrc;
Done!
- Download and install VSCode
- Download and install the Go Compiler
- Create folder at
C:\go
- Right click on "Start" and click on "Control Panel". Select "System and Security", then click on "System"
- From the menu on the left, select the "Advanced systems settings"
- Click the "Environment Variables" button at the bottom
- Click "New" from the "User variables" section
- Type GOPATH into the "Variable name" field
- Type
C:\go
into the "Variable value" field - Click "OK"
Done!
- Download and install VSCode
- Download and install the Go Compiler
- Open your terminal and run the following command:
mkdir ~/go && echo "export GOPATH=\"$HOME/go\"" >> ~/.bashrc;
Done!
If you would like to prepare a little ahead of time, definitely check out the tour of Go. It provides a great introduction to the language in a nice, interactive way.