Coding, productivity, and Mac automation tutorials for beginners and beyond.

How to Install the Go Tour on Your Mac

Jul 31st, 2012

After reading an interesting article describing how the SoundCloud dev team uses Go, I decided to learn more about this new language. I started by visiting the Tour, and followed the advice to run it locally. Unfortunately, the instructions on the page are missing a few key steps. Here’s how I got the Go Tour installed on my Lion machine:

6) Open the Tour in your browser by going to http://127.0.0.1:3999/ and learn about neat Go features, such as quick initialization of variables, even if they’re not of the same type:

12

varx,y,zint=1,2,3varc,python,java=true,false,"no!"

Mountain Lion Update: If you successfully installed Go on Lion, and then upgraded to Mountain Lion, you will have to repeat steps 1 and 2 before being able to run gotour.

If you got any value out of this tutorial, I have more tips and tricks for you in my free newsletter. If you're feeling really appreciative, you can also donate, which will automatically give you a discount for any paid courses I might release in 2015.