Welcome to Go from Zero
You've never written a line of code, or maybe you've dabbled but nothing stuck. Either way, this course starts from nothing and builds up, one concept at a time. By the end, you'll understand how programs work and you'll build a real project from scratch.
The language is Go. It's simple, fast, and doesn't try to be clever. There's one way to write a loop, one way to format code, and the compiler tells you exactly what's wrong. That makes it a great first language.
What You'll Learn
- What Is Programming: what code is, how Go turns it into a program, your first "Hello, World!"
- Values and Variables: numbers, text, booleans, storing data, printing output
- Making Decisions: comparisons, if/else, switch, reading user input
- Repeating Things: loops, counting, patterns, breaking out
- Functions: reusable blocks of code, parameters, return values
- Slices: ordered collections, adding items, looping through lists
- Maps: key-value pairs, lookups, checking if something exists
- Structs: defining your own types, grouping related data
- Errors: what can go wrong, handling it, reading and writing files
- Packages: organizing code into folders, using Go's standard library
- Putting It All Together: build a complete Contact Book application
Why Go?
- Simple: small language, few keywords, one way to do things
- Fast: compiles to a single binary in seconds
- Strict but helpful: the compiler catches mistakes before you run anything
- Great tooling: formatting, testing, and building are all built in
Prerequisites
None. If you can type and follow instructions, you're ready.
Course Structure
Eleven lessons. Each one teaches a programming concept with hands-on examples you can run immediately. The final lesson brings everything together into a complete Contact Book application, a real program you can use and extend.
You don't need to install anything to get started. Most code examples in this course can be copied and run directly in the Go Playground, a free online editor from the Go team. Just paste the code and hit Run.