A hands-on path from zero Go to job-ready Go backend engineer: language, concurrency, SQL, REST APIs, frameworks, microservices and the other things Go is used for in industry.
Built for Go 1.27.1+. Every lesson is a runnable program with notes in its comments.
go version # needs go1.27.1 or newer
go run ./01-fundamentals/01hello # run one lesson
make help # list all helper tasks
make test # run every test in the repogo run ./path/to/lesson compiles and runs the main package in that folder.
go build -o bin/app ./path produces a binary instead (bin/ is git-ignored).
Do the tracks in order. Each folder has a README.md with the lesson list and interview questions.
| # | Track | What you learn | Why it matters for jobs |
|---|---|---|---|
| 01 | Fundamentals | syntax, types, slices, maps, structs, interfaces, errors, generics, iterators, JSON, testing, modules | Every interview starts here |
| 02 | Concurrency | goroutines, channels, select, sync, context, worker pools, errgroup, race detector | Go's killer feature; always asked |
| 03 | SQL with SQLite | SQL itself, database/sql, transactions, joins, indexes, pagination, sqlx, sqlc, migrations |
Go shops use raw SQL, not ORMs |
| 04 | Web with stdlib | net/http, routing, JSON, middleware, slog, HTTP client, graceful shutdown, httptest |
Std lib is enough for production |
| 05 | Capstone: taskapi | production REST API: layered layout, auth (Argon2id, JWT + Better Auth-style cookie sessions, GitHub OAuth), sqlc, migrations, tests, Docker | Portfolio project for interviews |
| 06 | Frameworks | same API in chi, Gin, Fiber + comparison | Read any codebase you join |
| 07 | Microservices | gRPC + protobuf, API gateway, tracing, docker-compose, retries, idempotency | How bigger companies split systems |
| 08 | Other use cases | CLI tools, TCP server, WebSockets, crawler, job worker | Go is also DevOps / infra / tooling |
Extra reading in docs/:
- industry-stack.md — what startups and big companies actually use, and why
- postgres-later.md — moving from SQLite to PostgreSQL
- interview-prep.md — Go, backend and SQL interview questions
Zero setup: the database is a file and the driver (modernc.org/sqlite) is pure Go, so no Docker
or C compiler is needed. The SQL is written to be portable; docs/postgres-later.md shows the
handful of changes needed to switch to PostgreSQL, which is what most Go jobs use in production.
| Tool | How you get it |
|---|---|
| Go 1.27.1+ | https://go.dev/dl |
sqlc, goose, buf |
pinned in go.mod as tools → go tool sqlc ... (no global install) |
golangci-lint |
optional locally (https://golangci-lint.run), always runs in CI |
| Docker | only for tracks 05 (image build) and 07 (docker-compose) |
- Go by Example — the style the fundamentals follow
- Effective Go and Go Code Review Comments
- Go release notes — what changed in each version
- SQLBolt — interactive SQL practice