Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.86 KB

1-intro.md

File metadata and controls

49 lines (36 loc) · 1.86 KB

Introduction

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.

MacOS

  1. Download and install VSCode
  2. Download and install the Go Compiler
  3. Open the terminal application Applications > Terminal and run the following command:
mkdir ~/go && echo "export GOPATH=\"$HOME/go\"" >> ~/.bashrc;

Done!

Windows

  1. Download and install VSCode
  2. Download and install the Go Compiler
  3. Create folder at C:\go
  4. Right click on "Start" and click on "Control Panel". Select "System and Security", then click on "System"
  5. From the menu on the left, select the "Advanced systems settings"
  6. Click the "Environment Variables" button at the bottom
  7. Click "New" from the "User variables" section
  8. Type GOPATH into the "Variable name" field
  9. Type C:\go into the "Variable value" field
  10. Click "OK"

Done!

Linux

  1. Download and install VSCode
  2. Download and install the Go Compiler
  3. Open your terminal and run the following command:
mkdir ~/go && echo "export GOPATH=\"$HOME/go\"" >> ~/.bashrc;

Done!

Further Resources

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.