How hiteshchoudhary/golang works
Project type and purpose
• This is not a single‐app codebase but an educational “Golang series” repository. It contains ~28 standalone Go examples (01hello → 28channels), two more elaborate Go web/API projects (buildapi and mongoapi), and a small Node.js demo server (lcowebserver).
• Purpose: teach Go basics (syntax, data types, control flow, functions, methods), web requests/JSON, modules, building REST APIs, MongoDB integration, and concurrency primitives.
File structure
• Top‐level numbered dirs (01hello … 28channels): each is an independent go.mod + main.go CLI demo.
• “mymodules” + “vendor”: demo publishing & consuming local modules.
• “buildapi”: simple Go REST API (single folder).
• “mongoapi”: MVC‐style Go API with three subpackages—controller, model, router—and external MongoDB.
• “lcowebserver”: Node.js Express server (static/demo front end).
• No monolithic build scripts: each subfolder is its own Go module or Node project.
Key README insights
• Sections 01–08 in the README map exactly to the numbered example folders and web/API demos.
• Emphasizes topics: Go fundamentals → modules & web → REST APIs → MongoDB → concurrency.