How sraynitjsr/2026_lld_using_golang works
This repository is a Go command-line showcase of low-level design patterns. The principal workflow is running the program, which prints a banner and dispatches to the creational, behavioral, structural, and general LLD sections; implemented sections then run their demonstrations. The creational demos cover singleton, factory method, abstract factory, builder, and prototype; the behavioral demo exercises a support-ticket handler chain. The README lists additional patterns, but the supplied tree has no corresponding implementations for most of them. Structural and general LLD are currently headings/placeholders. Arrows reflect calls visible in sampled source.
Main entry points: creational/start.go Creational section · main.go Program entry · behavioral/start.go Behavioral section · singleton.go Singleton demo
Components 12
Program entry
- Program entry
main.go
Creational patterns
- Creational section
creational/start.go - Singleton demo
creational/singleton.go - Factory method demo
creational/factory_method.go - Abstract factory demo
creational/abstract_factory.go - Builder demo
creational/builder.go - Prototype demo
creational/prototype.go
Behavioral patterns
- Behavioral section
behavioral/start.go - Support chain demo
behavioral/chain_of_responsibility.go
Other sections
- Structural section
structural/start.go - LLD section
low_level_design/lld.go
Other components
- CLI user
Connections 11
- CLI user → Program entry: runs
- Program entry → Creational section: calls
- Program entry → Behavioral section: calls
- Program entry → Structural section: calls
- Program entry → LLD section: calls
- Creational section → Singleton demo: runs
- Creational section → Factory method demo: runs
- Creational section → Abstract factory demo: runs
- Creational section → Builder demo: runs
- Creational section → Prototype demo: runs
- Behavioral section → Support chain demo: runs