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 127,467 students in the Learn Go course

Read reviews of their learning experiences

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

This is a great course to get familiar with the basics of Go.

(5/5)
Utsav Deep profile image

Utsav Deep

Germany

Really really wonderful course, definitely recommended for anyone. One thing I would say is, add a pre-requisite for the Python course in the course outline, just like you added the JavaScript course as a pre-requisite for the TypeScript course!

(4/5)
Deferred Impact profile image

Deferred Impact

Norway

Excellent course.

(5/5)
Taha Mohammadyar profile image

Taha Mohammadyar

Afghanistan

I am not impressed with Go. It appears to devolve quickly into seemingly random punctuation marks, while also being case-sensitive in a way that makes it annoying for people who've spent time on this boot.dev DevOps course! Go also tries too hard to be contrary to C. Many of the Assignments are worded poorly, and too many are "this is how you must *not* do it!" while forcing you to do it that way to progress the course.

(1/5)
Paul  profile image

Paul

United Kingdom

It's pretty good

(5/5)
sugarkane  profile image

sugarkane

Vietnam

Showing 1-9 of 707

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.