By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
If you have never written a program before, you are in the right place. This course starts at zero: no previous language, no computer science degree, no assumptions about what a variable or a compiler is. It teaches you to program using Go, a language designed to be small, readable and hard to get subtly wrong.
You will write real programs from the first lesson and finish with something you can show someone: a working command-line app called Penny and a small web API that serves its data.
Penny is an expense tracker you run in a terminal. You tell it what you spent, it remembers, and it reports totals. It starts as a single file with a few lines of output and grows with every section of the course. Nothing is thrown away: each stage keeps the previous one working.
| Stage | What Penny can do | What you learn |
|---|---|---|
| 1. One file | Print a greeting and totals | Programs, values, functions |
| 2. Commands | Add, list and total expenses | Slices, structs, loops |
| 3. Memory + disk | Remember expenses after exit | Files, JSON, errors |
| 4. Tested | Prove the totals are correct | Tests, table tests, debugging |
| 5. Reachable | Serve expenses over HTTP | Goroutines, channels, HTTP |
Before you install anything, keep this picture in your head: you write text in a file, the Go toolchain checks it and translates it, and the computer executes the result. Press Play on the diagram below, or click each step, to walk the path.
Every lesson follows the same rhythm, so you always know what is coming next:
Key takeaways
You do not need any programming experience: this course starts at zero.
The project is Penny, an expense tracker, and it grows in stages.
A Go program is a text file; go run . checks it and runs it.
Every program starts at func main and executes statements in order.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.