Go for Mere Mortals
Plain-language guides to the Go programming language, written for people who want a fast, simple language that stays out of the way — no CS degree required.
No jargon without an explanation. No "it's simple, just..." Every concept starts with the idea, then the code.
One honest note up front: Go is deliberately small. It has fewer features than most languages its age — no generics until recently, no exceptions, no classes. That's a design choice, not a gap: the language trusts you to write boring, readable code. If you like clever abstractions, Go will frustrate you. If you like code you can still read in six months, you'll feel at home.
Start here
- What Go Is — what it is, where it lives, and why learn it in the first place.
- Installing Go — Windows, Mac, and Linux, with checks that it worked.
- Your First Program — modules,
go run, andgo build, with checks along the way.
The building blocks
- Variables and Types —
:=,var, and the types you'll actually use. - Control Flow —
if,for(the only loop), andswitch. - Functions — multiple return values and named results.
- Structs and Methods — data plus behavior, without classes.
- Interfaces — shared behavior, satisfied implicitly.
- Error Handling — errors as values: no exceptions, no surprises.
Reference
- Troubleshooting — compiler errors and common gotchas, plain fixes.
- Glossary — quick definitions, A to Z.
Writing criteria
Every guide follows the same writing criteria: plain words, no hype, honest limits, and checkable steps.
Part of the series
This guide is one of the For Mere Mortals guides: plain-language guides to the tools programmers and makers use.
Related guides:
License
The writing in this guide is licensed under CC BY 4.0. Code examples and lab scripts are licensed under the MIT License.