A series of (hopefully cool!) exercises for those eager to learn Go
As new versions of the Go suite are released you will want an easy way to stay up to date. So please follow the Setup guide to install Go and build your workspace.
It is best to get this right the first time around so if you have trouble please ask for help!
The Saigo exercises are intended to be a tool for the instructor. Experienced developers may choose to use them as a way to jump right in the pool. However, to get the most out of them it is recommended that learners find an instructor.
Some of the exercises may require serveral days to complete. Learners should consider building solutions incrementally and meeting with their instructor between iterations.
The first exercise asks learners to go through Caleb Doxsey's book An Introduction to Programming in Go. Learners should schedule regular meetings with an instructor during the course of this book to ask questions, seek clarifications, and talk about Go!
Hopefully you will have instructors available to work with while learning. Never be afraid to ask instructors for help or clarification. There is no such thing as a stupid question. Before starting work on a new exercise, try to schedule a brief meeting with an instructor to go over the requirements. No task is truly complete until the learner has discussed their solution(s) with an instructor.
Some of the exercises include Comprehension Tasks that require you to read and explain portions of Go code. To properly execute a comprehension-task you should deliver your explanation to an instructor.
Engineering tasks will ask you to write some code, usually an application of some sort. As mentioned above, learners should routinely schedule brief (ten-minute) meetings with instructors while working on engineering-tasks. You will want to avoid situations where you write 150 lines of code only to find your solution has issues. Even learning can be agile.
Be ready to demo your application when it is completed. Instructors want to see it in action!
There's no need to read through all of these resources but keep them handy when you need a reminder.
- How to Write Go Code: This document demonstrates the development of a simple Go package and introduces the go tool, the standard way to fetch, build, and install Go packages and commands.
- Effective Go : All the basic data types, control structures, style guide explained through examples.
- A Tour of Go: An interactive tutorial for playing with Go
- Go Playground : A useful resource to write code in the browser
Saigo is released by Enova under the MIT License.