PROGRAMMING
Go Tutorials
Standalone Go tutorials covering concrete runtime traps and service patterns: slice backing-array aliasing, nil-map panics, typed-nil interfaces, context.Context timeouts, worker pools, go test -race data races, pprof allocations, and static binaries under 10 MB.
Each guide pairs a small runnable Go program with its exact compiler, test, or benchmark output so you can verify the behavior locally.
Any topics
APIs and Integrations
4
CLI and Tooling
1
Concurrency
3
Data and Formats
1
Data Structures and Algorithms
1
Databases
1
Deployment
1
Deployment and Containers
3
Language Basics
3
Modules and Packages
1
Networking and APIs
1
Performance
4
✓ Performance Optimization
2
Programming Basics
2
Programming Patterns
3
Security
1
Testing and Debugging
11
Web Development
1
Web Services
1
Go
Benchmark Speed and Heap Allocations With go test -bench -benchmem
Level: Advanced
Measure nanoseconds and heap allocations with testing.B and -benchmem, compare += vs strings.Builder, pre-size slices, and reuse buffers with sync.Pool.
4 min read
Go
Stream Large Files and HTTP Bodies With bufio.Scanner and io.LimitReader
Level: Intermediate
Read large text streams line by line with bufio.Scanner, copy streams in bounded memory with io.Copy, and cap untrusted HTTP bodies with io.LimitReader.
4 min read