Skip to content

Go for TypeScript Developers

Learn Go by mapping it to the TypeScript you already know. Runnable examples, side-by-side comparisons, quizzes — all in your browser.

Introduction & Setup

Why Go for TS devs, the mental-model shifts, and the toolchain. Start →

Go 101 — Fundamentals

Variables, functions, structs, interfaces, errors — TS ↔ Go. Learn →

Go You Won't Find in TypeScript

Pointers, value semantics, defer/panic/recover, embedding. Explore →

Concurrency

Goroutines, channels, select, context — beyond async/await. Dive in →

Building an API with Echo

Routing, middleware, binding, errors — Express/Nest ↔ Echo. Build →

Advanced Go

Generics, reflection, table tests, benchmarks, pprof. Go deeper →

Tooling, Testing & Deployment

gofmt, go test, Docker multi-stage, cross-compile, CI. Ship it →

Comparison-first

Every concept starts from the TypeScript you know, then shows the Go way.

Run Go in your browser

Runnable examples compile on go.dev with the current Go release (1.27) and fall back to an in-browser interpreter when you are offline — no setup.

Quizzes & progress

Check your understanding after each lesson; your progress is saved locally.

Bilingual

Available in English and ไทย — switch anytime from the top bar.