practical_apps/

directory
v0.0.0-...-9b13a0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2025 License: MIT

README ΒΆ

/go-practical-apps
│── main.go                   # Entry point of the project
│── go.mod                    # Module file for dependencies
│── go.sum                    # Checksum for dependencies
│── README.md                 # Project documentation
β”‚
│── cli/                      # πŸ›  CLI Tool
β”‚   β”œβ”€β”€ cli_tool.go           # CLI implementation using flag package
β”‚
│── api/                      # 🌐 REST API
β”‚   β”œβ”€β”€ rest_api.go           # REST API implementation with net/http
β”‚
│── scraper/                  # πŸ•Έ Web Scraper
β”‚   β”œβ”€β”€ web_scraper.go        # Scrapes web pages for links
β”‚
│── caching/                  # πŸ’Ύ Caching Mechanism
β”‚   β”œβ”€β”€ cache.go              # In-memory cache with sync.RWMutex
β”‚
│── worker/                   # ⚑ Worker Pool
β”‚   β”œβ”€β”€ worker_pool.go        # Concurrency with Goroutines & Channels

πŸš€ Summary

Topic Key Concept
CLI Tool flag.String(),Β flag.Int(),Β flag.Parse()
REST API http.HandleFunc(),Β http.ListenAndServe()
Web Scraper golang.org/x/net/html,Β html.NewTokenizer()
Caching map,Β sync.RWMutex
Worker Pool goroutines,Β channels,Β sync.WaitGroup

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL