We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn Go

Learn Go by writing real code with structs, interfaces, error handling, concurrency, and backend design patterns.

What you'll learn in this Go course

Master the fundamentals of the Go programming language in this comprehensive interactive course. You'll practice writing performant, idiomatic Go while working through hands-on lessons, challenges, and quizzes covering everything from structs and interfaces to concurrency.

Chapter List

1
Variables
Learn the basic syntax for declaring and using variables and why you should use Go in the first place
2
Constants and Formatting
Learn how constants work in Go and how to format output using the fmt and unicode packages.
3
Conditionals
Use if/else statements to control the flow of your program
4
Functions
Learn about how functions behave
5
Structs
Idiomatically model data in Go using structs
6
Interfaces
Master one of Go's most powerful tools: the interface
7
Errors
Learn how Go uniquely handles errors
8
Loops
Practice various algorithms in Go
9
Slices
Learn about Go's take on ordered lists
10
Maps
Go has an answer to Python's sets and dictionaries, we call it a map
11
Pointers
Learn about pointers and their pitfalls
12
Packages and Modules
Learn how go projects are organized on your local machine
13
Channels
Master the #1 reason to use Go: its elegance of concurrent programming
14
Mutexes
Continue learning about concurrency with mutexes
15
Generics
Learn how Go approaches polymorphism with generics: a new feature added in 1.18
16
Enums
Go famously doesn't support proper enums, but we'll go over how Go developers solve the same kinds of problems with the tools they have.
17
Quiz
Learn about go-specific design patterns and fun language facts

Join 128,751 students in the Learn Go course

Read reviews of their learning experiences

It's a good course. I feel pretty confident in my skills with Go, and I am looking forward to future courses. It naturally gets more complex closer to the end, but that is to be expected.

(4/5)
Nathaniel Taylor profile image

Nathaniel Taylor

United States

A bit hard to understand all the concepts but makes it interesting to learn and think about how to solve the problems. I will probably do some exercises once in a while to refresh the concepts but I really liked this course.

(5/5)
Gilberto Mejia profile image

Gilberto Mejia

Colima, Mexico

Pls do one with C++

(3/5)
Kirill Kuchmakra profile image

Kirill Kuchmakra

Italy

A fun course to learn a new language (for me at least) and not too hard.

(5/5)
David Bouchard profile image

David Bouchard

Saint-Hyacinthe, Canada

I really appreciated the level of objectivity the authors showed throughout the course, knowing how much they love Go. Very well done, boot.dev team!

(5/5)
Shant Dashjian profile image

Shant Dashjian

United States

Some lessons regarding channels and interfaces were a bit too abstract. Specially with some of the examples

(4/5)
Alonso  profile image

Alonso

Australia

Very good entry-way into learning GO. Not overly complex assignments but still with enough challenge and engagement to actually learn valuable skills.

(5/5)
Ilias Lygouriatis profile image

Ilias Lygouriatis

Canada

Go taught me..... privateKey == 4 is not safe

(5/5)
PriyamK  profile image

PriyamK

India

Great Course to start with when someone chooses to learn Golang

(4/5)
shanthan cheruku profile image

shanthan cheruku

United States

Showing 1-9 of 712

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes, but we assume you're already familiar with programming basics like variables, conditionals, and functions. You don't need any prior Go experience.