70-Topic Complete Curriculum

The Master Go Roadmap

From Absolute Basics (Level 0) to Compiler Internals and Distributed Systems (Level 15). Every topic includes mental models, code examples, common pitfalls, and self-checks.

Your Mastery0%
0 of 70 topics completed
Resume: Introduction to Go
Filter:

🟢 Level 0 — Absolute Basics

0/2 completed
Intro + install + workspace basics.
  • •What is Go? Why it was created (simplicity, concurrency, performance)
  • •Toolchain, workspace
  • •GOPATH vs Modules
  • •Install Go; go version; go env
  • •VSCode / GoLand setup
  • •$GOROOT and $GOPATH

🟡 Level 1 — Fundamentals

0/5 completed
Hello World, syntax, vars, types, constants.
  • •package main
  • •func main()
  • •fmt.Println
  • •Packages & imports
  • •Comments
  • •Naming conventions
  • •var declarations
  • •Short :=
  • •Zero values
  • •Typed vs untyped constants
  • •ints, floats, complex
  • •string (immutable)
  • •bool
  • •byte, rune
  • •const
  • •iota
  • •Typed & untyped

🟠 Level 2 — Flow Control

0/4 completed
Conditionals, switch, loops, error basics.
  • •if, if with initializer, else-if
  • •Multiple cases
  • •Condition switches
  • •Type switch
  • •for
  • •range over slices/arrays/maps/strings
  • •Infinite loops
  • •error type
  • •Create/return errors
  • •fmt.Errorf + %w
  • •errors.Is / errors.As

🔵 Level 3 — Functions

0/3 completed
Functions, closures, defer/panic/recover.
  • •Multiple returns
  • •Named returns
  • •Variadic
  • •Closures, returning functions
  • •Stack unwinding
  • •When to use defer
  • •Panic + recover patterns

🟣 Level 4 — Composite Data

0/5 completed
Arrays, slices, maps, structs, pointers.
  • •Fixed size
  • •Value semantics
  • •Memory layout
  • •Header (ptr, len, cap)
  • •Backing array
  • •Reslicing
  • •Append growth
  • •Copy
  • •Hash table, buckets/overflow
  • •Lookup/insert/delete
  • •Iteration randomness
  • •nil vs empty maps
  • •Definition
  • •Tags
  • •Anonymous fields
  • •Embedding
  • •& and *
  • •Pointer to array vs slice
  • •Value vs reference
  • •Escape basics

🔴 Level 5 — Methods & Interfaces

0/4 completed
Methods, method sets, interfaces, embedding.
  • •Value vs pointer receivers
  • •Method sets
  • •Mutability rules
  • •Implicit impl
  • •Satisfaction
  • •Empty interface (any)
  • •Type assertions/switches
  • •itab + data ptr internals
  • •Composing behavior
  • •Struct vs interface embedding
  • •Interface-based polymorphism (no inheritance)

⚫ Level 6 — Memory Model

0/4 completed
Stack/heap, GC, alignment, zero-copy patterns.
  • •Escape analysis
  • •Allocation decisions
  • •Stack growth
  • •Tracing GC
  • •Write barriers
  • •STW phases
  • •Tuning
  • •Struct alignment rules
  • •Minimizing padding
  • •Slices/maps share memory
  • •Large struct copy patterns

🟤 Level 7 — Runtime & Concurrency

0/6 completed
Goroutines, channels, select, sync, context, GMP.
  • •Lightweight threads
  • •Scheduler
  • •Stack growth
  • •Blocking vs non-blocking
  • •Buffered/unbuffered
  • •Blocking sends
  • •Closing
  • •Range
  • •Multiple channel ops
  • •Default
  • •Fairness
  • •Mutex/RWMutex
  • •WaitGroup
  • •Once/Map/Cond/Pool
  • •Propagation
  • •Deadlines
  • •Cancellation
  • •G/M/P
  • •Work stealing
  • •Preemption

🟩 Level 8 — Advanced Types

0/3 completed
Generics, type aliases, custom types.
  • •Type params
  • •Constraints
  • •comparable
  • •Generic structs/methods
  • •type T = OriginalType
  • •Migrations
  • •Methods
  • •Implementing interfaces

🟧 Level 9 — File I/O & Systems

0/4 completed
Files, networking, encoding, CLI.
  • •os pkg
  • •Read/write
  • •Scanners/readers
  • •net TCP/UDP
  • •net/http
  • •HTTP server/client
  • •Middleware patterns
  • •JSON/YAML
  • •Custom marshalers
  • •Streaming decoders
  • •flags
  • •Cobra/Viper basics

🟨 Level 10 — Build & Deploy

0/4 completed
Modules, builds, packaging, perf tools.
  • •go mod init
  • •Deps/versioning
  • •go build/run/install
  • •Cross compilation
  • •Publish modules
  • •replace directives
  • •Benchmarks
  • •pprof
  • •Tracing
  • •Race detector

🟪 Level 11 — Runtime & Compiler (Expert)

0/5 completed
Escape analysis deep, inlining, flags, linker.
  • •Rules
  • •Heap vs stack control
  • •Inlining rules
  • •-gcflags
  • •-ldflags
  • •Build tags
  • •DCE
  • •Symbol resolution
  • •Memory/channel leaks

🔥 Level 12 — Architecture & Practices

0/6 completed
Project structure, DI, clean architecture, testing, logging, microservices.
  • •Standard layout
  • •DDD
  • •No-framework DI
  • •Wire/Fx (optional)
  • •Entities, use cases, repos, services
  • •Unit, table-driven, mocks, integration
  • •Structured logs
  • •Zap/Zerolog
  • •gRPC/Protobuf
  • •REST
  • •Async messaging

🟫 Level 13 — Specialized Topics

0/5 completed
Unsafe, atomics, WASM, reflection, plugins.
  • •Pointer ops
  • •Reinterpretation
  • •Risks
  • •sync/atomic
  • •CAS
  • •Barriers
  • •Go in the browser
  • •reflect pkg
  • •Framework patterns
  • •.so dynamic loading

🟩 Level 14 — Internals Deep Dive

0/6 completed
Runtime internals, GC internals, memory layout, channel/map/slice internals.
  • •Goroutine mgmt
  • •Scheduler ticks
  • •Allocator
  • •Tri-color
  • •Mutator assists
  • •Pacing
  • •Object headers
  • •Pointer scanning
  • •hchan
  • •Send/recv queues
  • •Buckets/overflow
  • •Resizing
  • •Growth strategy
  • •Zero-copy gotchas

🟦 Level 15 — Philosophy & Distributed

0/4 completed
Philosophy, anti-patterns, distributed systems, OSS patterns.
  • •Simplicity
  • •Minimalism
  • •Composition
  • •Panic misuse
  • •Goroutine leaks
  • •Global state
  • •Unbounded channels
  • •Concurrency models
  • •RPC systems
  • •Queues/workers
  • •Idiomatic Go
  • •Effective Go
  • •go vet + linters