Go
Programming language notes for Go — types, concurrency, interfaces, error handling, and package management.
Notes
- Go Basics — static typing, zero values, multiple return values, and package structure
- Go Control Flow — if/switch/for, defer, panic/recover patterns
- Go Functions — first-class functions, closures, variadic params, multiple returns
- Go Pointers — pointer semantics, value vs pointer receivers, nil safety
- Go Structs — struct embedding, anonymous fields, and composition over inheritance
- Go Interfaces — implicit implementation, empty interface, type assertion, type switches
- Go Generics — type parameters, constraints,
comparable, generic data structures - Go Collections — slices, maps, channels, and idioms for each
- Go Errors — sentinel errors,
errors.Is/As, custom error types,fmt.Errorfwrapping - Go Concurrency — goroutines, channels,
sync.Mutex,WaitGroup,select, context cancellation - Go Packages — module system,
go.mod, import paths, and workspace management
Links
Navigation: ← Python | Programming Languages Index | JavaScript →