Go Language Overview
Treehouse
Course Summary
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.
-
+
Course Description
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
About the Teacher
Resident Ruby and Go teacher for Treehouse. Author of Head First Ruby, a tutorial book on the core Ruby language.
-
+
Course Syllabus
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. 14 steps- Overview 6:03
- Packages 6:42
- Packages 5 questions
- Downloading and Storing Package Code 6:58
- Types 3:47
- Types 4 questions
- Variables 7:51
- Variables 1 objective
- Package Variables 1 objective
- Functions 6:43
- Multiple Return Values 5:26
- Functions 1 objective
- Error Return Values 1 objective
- The Go Formatting Tool 1:40
Flow Control
Learn how to direct which parts of your code run next with loops, conditionals, and switches. 6 stepsData Structures
Learn about the various ways Go stores complex data. 9 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 steps