Skip to content

erikwehrmann/goroutines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Concurrent URL Status Checker (Go)

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.


Learning Goals

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 main coordinates and waits for Goroutines

Core Concepts Used

  • 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

Getting Started

go run .

Expected output

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages