1 – Clone our examples repository

First we need some code to work with. If you already use Go, and have your GOPATH, workspace and tooling set up, and have git set up on your local machine, you can now clone our examples repo into your workspace by following the instructions for your operating system below.

If you are new to Go, please follow our quick setup guide first.

Linux/MacOSX

From a terminal copy and paste the following:

git clone https://github.com/Reconfigureio/examples.git $GOPATH/src/github.com/Reconfigureio/examples
cd $GOPATH/src/github.com/Reconfigureio/examples
git checkout v0.5.1

Windows 10

From a Powershell terminal copy and paste the following:

git clone https://github.com/Reconfigureio/examples.git $Env:GOPATH/src/github.com/Reconfigureio/examples
cd $Env:GOPATH/src/github.com/Reconfigureio/examples
git checkout v0.5.1