Tutorials
Programming Tutorials
Standalone programming tutorials for solving one specific problem at a time. Each guide starts with the exact error message, failing behavior, or design constraint, gives you a minimal reproducible script or query, and walks through the fix with real output.
Pick a language below or filter by topic and difficulty when you need a quick, practical reference you can test locally and apply right away.
Any topics
APIs and Integrations
2
✓ CLI and Tooling
1
Data Structures and Algorithms
3
Databases
10
Deployment and Containers
2
Language Basics
1
Modules and Packages
1
Packaging and Dependencies
2
Performance Optimization
1
Programming Basics
18
Programming Patterns
1
Security
1
Testing and Debugging
16
Type Systems
10
Web Development
11
Go
Parse Flags, Env Vars, and Exit Codes in a Go CLI
Level: Beginner
Build testable Go CLIs using flag.NewFlagSet, os.Getenv defaults, os.Stderr error messages, and clean integer exit codes.
4 min read