The Gopher Isles
Learn Go
Simple, fast and built for the cloud — learn the language behind Docker and Kubernetes.
Learn Go (Golang) online with interactive lessons. Write and run real Go code in your browser, pass tests, earn XP and beat bosses. First chapter free.
First 9 lessons free · Finish within 30 days after buying and get $10.50 back
Want more than one course?
The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.
Course map
6 chapters, 38 lessons
- 10/9
Fundamentals
Write your first Go programs and learn the building blocks — variables, types, constants, strings, if/switch and for loops. Free to play.
- 1Go Hello World: Your First Go ProgramEasy · 10 XPFree
- 2Go Variables: var, := and Multiple AssignmentEasy · 10 XPFree
- 3Go Data Types and Zero ValuesEasy · 10 XPFree
- 4Go Constants and Arithmetic OperatorsEasy · 10 XPFree
- 5Go Strings and fmt.Sprintf FormattingEasy · 10 XPFree
- 6Go if/else and switch StatementsEasy · 10 XPFree
- 7Go for Loops: The Only Loop You NeedMedium · 20 XPFree
- Quiz: Go BasicsQuiz · 10 XPFree
Boss: The GatekeeperHard · 100 XPFree
- 20/5
Functions
Declare Go functions with parameters and results, return multiple values and errors, write variadic functions, and master closures and defer.
- 30/6
Slices & Maps
Store collections of data with arrays, slices and maps — append, slicing, range loops, sorting and lookups with the comma-ok idiom.
- 40/5
Structs & Methods
Model your own data types with structs, share data safely with pointers, attach behaviour with methods and compose types with embedding.
- 50/6
Interfaces & Errors
Write flexible code with Go interfaces, inspect values with type assertions and switches, and handle failures with error values, custom errors and wrapping.
- Go Interfaces: Implicit Implementation and PolymorphismMedium · 20 XP
- Go Type Assertions and Type SwitchesMedium · 20 XP
- Go Error Handling: error Values and if err != nilMedium · 20 XP
- Go Custom Errors and Error Wrapping with %wHard · 30 XP
- Quiz: Go Interfaces and ErrorsQuiz · 10 XP
Boss: The Error LichHard · 100 XP
- 60/7
Concurrency
Run work in parallel with goroutines, coordinate it with WaitGroups and channels, multiplex with select and protect shared state with mutexes.
- Goroutines in Go: Lightweight ConcurrencyMedium · 20 XP
- Go Channels: Communicating Between GoroutinesMedium · 20 XP
- Go Buffered Channels, close and rangeMedium · 20 XP
- Go select: Timeouts and Non-blocking ChannelsHard · 30 XP
- Go Mutex: Protecting Shared State with sync.MutexMedium · 20 XP
- Quiz: Go ConcurrencyQuiz · 10 XP
Boss: The Goroutine HydraHard · 100 XP
About this Go course
Go — often called Golang — is the language of modern cloud software. Docker, Kubernetes, Terraform and countless high-traffic back-ends are written in Go, because it is simple to read, compiles to fast programs and makes concurrency a first-class feature. Its small, consistent syntax means you can learn the whole language quickly and stay productive for years.
Learn Go is an interactive Go course for beginners. Every lesson pairs a short, practical explanation with a real coding challenge: you write Go directly in your browser, run it, and hidden tests check your solution instantly. There is nothing to install — a Go interpreter compiled to WebAssembly runs right inside the page, so you can learn Golang online on any computer.
The course takes you from your first fmt.Println("Hello, World!") to concurrent programs with goroutines and channels:
- Fundamentals — packages, variables and
:=, types and zero values, constants, strings, formatting verbs,if,switchandfor - Functions — parameters and results, multiple return values, variadic functions, closures and
defer - Slices and maps — arrays vs slices,
append,lenandcap,range, sorting and the comma-ok idiom - Structs and methods — custom types, pointers, value and pointer receivers, struct embedding
- Interfaces and errors — implicit interfaces, type switches,
errorvalues, custom errors and wrapping with%w - Concurrency — goroutines,
sync.WaitGroup, channels,selectandsync.Mutex
Codewilds turns learning into a game. The Gopher Isles are your realm: every lesson earns XP, daily practice builds your streak, and each chapter ends with a boss battle — a bigger challenge that combines everything you just learned. Every test you pass deals damage, and when the boss falls, the next island opens.
This Go tutorial assumes no prior programming experience, but it never stops at toy examples. Lessons explain why Go works the way it does, point out the mistakes beginners make most often, and show the idiomatic style experienced Go developers use every day. If you already know Python, JavaScript or Java, you will move fast and learn what makes Go different.
The whole first chapter is free and needs no account. Start now and run your first Go program in under a minute.
Learn Go: frequently asked questions
Is this Go course free?
The entire first chapter is free — 9 lessons on variables, types, strings, conditions and loops, including a quiz and the first boss battle — and you can play it without an account. The remaining chapters are unlocked with a one-time purchase of the course. There is no subscription.
Do I need to install Go to take this course?
No. Your code runs in your browser on a Go interpreter (Yaegi) compiled to WebAssembly. Open a lesson and start typing — it works on Windows, macOS, Linux and Chromebooks with nothing to download or configure. When you are ready to build real projects, installing Go from go.dev takes two minutes.
Is Go a good first programming language?
Yes. Go has a small, consistent syntax, clear error messages and one obvious way to do most things, which makes it easy to learn. This course assumes no programming experience, and experienced developers can move quickly through the basics to Go's interfaces and concurrency.
Is it called Go or Golang?
The official name is Go. "Golang" comes from the original website, golang.org, and is still widely used because it is easier to search for. Both names refer to the same language.
What is the 30% cashback?
We reward finishers. Buy the course, complete all of its lessons within 30 days of your purchase, and you can claim 30% of the price you paid back with one click (within 30 days of finishing).
How long does it take to learn Go with this course?
About 16 hours of focused practice spread over 38 lessons. At 30–45 minutes a day, most learners finish in four to six weeks.
How are my Go solutions checked?
Every coding challenge has hidden tests that call your functions with many inputs, including edge cases. You see which tests pass or fail with the expected and actual values, so you can fix your code and try again as often as you like.