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
7
Automation and Scripting
3
Concurrency
1
Data and Formats
1
Data Structures and Algorithms
4
Databases
12
✓ Deployment and Containers
1
Language Basics
1
Object-Oriented Programming
4
Packaging and Dependencies
9
Performance Optimization
3
Programming Basics
2
Programming Patterns
4
Security
1
Testing and Debugging
15
Type Systems
11
Web Development
13
Go
Shut Down a Go HTTP Server Gracefully With signal.NotifyContext
Level: Intermediate
Handle SIGINT and SIGTERM with signal.NotifyContext, drain active requests with server.Shutdown(ctx), and test shutdown under -race.
4 min read