
- Go Language
- Intermediate
About this Course
This overview of the Go programming language is designed for developers who are already familiar with another language. It's a quick tour of the language's core features such as interfaces and goroutines.
What you'll learn
- Go syntax
- Types
- Error handling
- Interfaces
- Goroutines
Go Syntax
Go's syntax is fairly similar to C, Java, and other compiled languages, but it has a few unique traits. In this stage, we'll learn everything you need to get started programming.
13 stepsFlow Control
Learn how to direct which parts of your code run next with loops, conditionals, and switches.
6 stepsCustom Types
Suppose we had one integer that represents a number of minutes, and another that represents a number of hours? How do you tell those two apart? How do you avoid accidentally storing the hours integer in the minutes integer, or vice-versa? Go lets you create custom types that will help you avoid these sort of mix-ups.
7 stepsConcurrency
Don't keep the user waiting! Run multiple parts of your program at once with goroutines. You can communicate between different goroutines and keep everything synchronized using channels.
5 stepsTeacher
-
Jay McGavren
Resident Ruby and Go teacher for Treehouse. Author of Head First Ruby, a tutorial book on the core Ruby language.