Required
You should have some experience with Go. There are some good tutorials here and here which you can use to get started if you are new to Go. These docs assume you are familiar with Go.
Go
Download go for your OS and install it. The official instructions are here.
Ensure that go is in your path. You should be able to type the command below in terminal or cmd and see the installed go version.
go version
Once go is installed, you can add the GOPATH to your system path. This is typically your $HOME/go/bin
. This should also be added to your system PATH to allow you to run installed tools.
Make
The Gofs template includes a Makefile for convenience. To check if you have make installed, run
make --version
If you dont see a make version printed then you will need to install it with the instructions for your OS below.
MacOS
For MacOS, make comes with Xcode command line tools. Run this command in a terminal to install it
xcode-select --install
Linux
For Linux, you can install it with the command below or equivalent for your distro
sudo apt-get install make