Go Language Overview Course (How To)
Offered By: Treehouse
Course Description
Overview
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
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.
Chevron 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.
Chevron 6 steps-
Loops
5:20
-
Loops
1 objective
-
If Statements
4:42
-
If Statements
1 objective
-
Switch Statements
2:25
-
Switch Statements
1 objective
Data Structures
Learn about the various ways Go stores complex data.
Chevron 9 steps-
Pointers
5:32
-
Pointers
3 questions
-
Arrays
5:53
-
Slices
9:24
-
Creating slices
1 objective
-
Accessing Slices
1 objective
-
Looping Over Slices
1 objective
-
Maps
4:06
-
Maps
1 objective
Custom 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.
Chevron 7 steps-
Custom Types
4:10
-
Methods
6:27
-
Methods
1 objective
-
Structs
7:43
-
Structs
1 objective
-
Interfaces
7:30
-
Interfaces
1 objective
Concurrency
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.
Chevron 5 steps-
Goroutines
3:18
-
Channels
5:27
-
Goroutines and Channels
1 objective
-
Course Summary
1:18
-
Final Quiz
8 questions
Taught by
Jay McGavren
Related Courses
Разработка веб-сервисов на Go - основы языкаMoscow Institute of Physics and Technology via Coursera Getting Started with Go
University of California, Irvine via Coursera Concurrency in Go
University of California, Irvine via Coursera Functions, Methods, and Interfaces in Go
University of California, Irvine via Coursera Game Thinking: Juego y toma de decisiones
The Pontificia Universidad Javeriana via edX