A small learning project that demonstrates Go concurrency fundamentals using Goroutines, channels, and the worker pool pattern.
This project checks the HTTP status of multiple URLs concurrently and prints results as they complete.
This project is designed to help you understand:
- What Goroutines are and how they work
- How channels synchronize concurrent work
- How to avoid shared state
- How to limit concurrency with a worker pool
- How
maincoordinates and waits for Goroutines
- Goroutines — lightweight concurrent functions
- Channels — safe communication between Goroutines
- Fan-out / Fan-in — distribute work and collect results
- Blocking semantics — coordination via channel operations
- Graceful shutdown — closing channels to signal completion
go run .https://google.com 200 OK
https://github.com 200 OK
https://golang.org 200 OK
https://bad-url.example lookup bad-url.example: no such host