Learn Go

Lane is a back-end engineer and the lead instructor of Boot.dev. He has taught over one million students worldwide.

About this course
Learn how to program in Go (Golang), the popular open-source programming language maintained by Google. Master the fundamentals of the Go programming language in this comprehensive interactive course. Go is one of the most popular languages of 2025, and Go developers are among the highest paid in the world. You'll practice writing performant, idiomatic Go with these hands-on lessons, challenges and quizzes.
What you'll learn
Variables
Learn the basic syntax for declaring and using variables and why you should use Go in the first place
Conditionals
Use if/else statements to control the flow of your program
Functions
Learn about how functions behave
Structs
Idiomatically model data in Go using structs
Interfaces
Master one of Go's most powerful tools: the interface
Errors
Learn how Go uniquely handles errors
Loops
Practice various algorithms in Go
Slices
Learn about Go's take on ordered lists
Maps
Go has an answer to Python's sets and dictionaries, we call it a map
Pointers
Learn about pointers and their pitfalls
Packages and Modules
Learn how go projects are organized on your local machine
Channels
Master the #1 reason to use Go: its elegance of concurrent programming
Mutexes
Continue learning about concurrency with mutexes
Generics
Learn how Go approaches polymorshism with generics, a new feature added in 1.18
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
Quiz
Learn about go-specific design patterns and fun language facts