Best for backend and systems basics
A free, hands-on Go course that starts from your first line of code. You'll write and run real Go in your browser as you learn variables, types, control flow, slices and maps, functions, closures and defer, strings, structs, pointers, methods, error handling, interfaces, generics, packages, testing, JSON, HTTP handlers, and goroutines, channels and context — then pull it all together in a small library CLI.
Who this is for
Complete beginners who want their first programming language, developers switching from Python or JavaScript to a compiled language, and backend engineers who want a clear path into Go.
What you'll build
Full curriculum
Write your first Go program. No setup required — just you and the editor.
Store information in your programs so you can use it, change it, and reuse it.
Grow a single small program step by step using variables and fmt. Your code carries forward, so you feel the project grow.
Every value in Go has a type. Meet the basic ones — strings, integers, floats, bools, bytes, and runes — and learn to convert between them.
Print things properly. Format numbers, align text, build strings, and control every detail of your output.
Make your program smart. Teach it to make decisions, choose between paths, and react differently to different situations.
Stop repeating yourself. Teach your program to repeat things for you.
Store multiple values in one variable. Fixed size, same type, numbered from zero.
Arrays but flexible. The collection type you will use in almost every Go program you ever write.
Store and look up data by name, not by position. The key-value pair is one of the most useful data structures in programming.
Stop repeating yourself. Write code once, name it, and call it anywhere.
Anonymous functions, closures that remember state, defer for reliable cleanup, and a first look at panic and recover.
Search, clean, split and join text with the strings package, build strings efficiently, understand bytes vs runes, and convert between text and numbers with strconv.
Group related data under one name. Build the building blocks of every real-world Go program.
Stop copying. Learn to work with the original. Pointers are simpler than they sound — and more powerful than you expect.
Attach behaviour to your types. Instead of functions that take a struct, write functions that belong to one.
Go handles errors differently — and better. No exceptions, no surprises. Just values you check and handle.
Write code that works with anything. Interfaces let you define behaviour without caring about the concrete type.
Write functions and types once and use them with many types: type parameters, constraints like comparable and cmp.Ordered, custom constraints, generic types, and the slices and maps packages.
Stop reinventing the wheel. Use Go's standard library, learn how exported names and import paths work, and see how modules tie it all together.
Catch bugs before your users do. Write tests with Go's built-in testing package: t.Errorf and t.Fatalf, table-driven tests, subtests, helpers and fakes.
Speak the language of the web. Marshal structs to JSON, unmarshal JSON into structs and slices, control keys with struct tags, and build API-ready responses.
Build HTTP handlers and a small JSON REST API with net/http: routing by method and path, path wildcards, status codes, request bodies and middleware.
Do several things at once. Start goroutines, pass results through channels, wait with sync.WaitGroup and protect shared data with sync.Mutex.
Go deeper into concurrency with select: non-blocking checks, timeouts, tickers, fan-in, and cancellation with context deadlines.
Build a small book catalog tool step by step: structs, maps, sorted slices, string parsing, a command switch and error handling in one growing program.
About this track
Go (Golang), created by Google, is one of the fastest-growing programming languages for backend development, cloud infrastructure, and DevOps. Companies like Google, Uber, Dropbox, and Twitch use Go for its simplicity, blazing-fast compilation, and built-in concurrency. Whether you want to build web servers, microservices, CLI tools, or distributed systems, Go is an excellent choice.