Skip to content

Instantly share code, notes, and snippets.

@pjvds
Created October 4, 2014 11:45
Show Gist options
  • Save pjvds/f8e288f7fa4ca09fe129 to your computer and use it in GitHub Desktop.
Save pjvds/f8e288f7fa4ca09fe129 to your computer and use it in GitHub Desktop.
Now we setup a workspace by doing the following:
- Install Go as described in <http://golang.org/doc/install>
- Open an terminal and change the directory to your `$HOME` dir (My Documents for Windows).
- Create a new directory called `go` and add the following 3 folders to is: `src`, `pkg` and `bin`.
- Add an environment variable `GOPATH` with the value `$HOME/go`.
- Get the workshop code by executing: `go get github.com/pjvds/goworkshop`. The code will be located in `$GOPATH/src/github.com/pjvds/goworkshop`
- `cd` into that directory and open the `readme`.
https://github.com/pjvds/goworkshop/archive/master.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment