Files
juanatsap d95c62bad4 refactor: remove outdated server design documentation
Remove 557-line server-design.md from _go-learning/architecture - content is now covered in updated architecture documentation with real implementation examples and test coverage.
2025-12-02 20:25:05 +00:00

1.6 KiB

Architecture Diagrams

Visual representations of the CV website architecture, data flow, and component relationships.

Available Diagrams

  1. System Architecture - Overall system design
  2. Request Flow - HTTP request lifecycle
  3. Middleware Chain - Middleware execution order
  4. Handler Organization - Handler file structure
  5. Data Models - CV and UI data structures
  6. Error Handling Flow - Error propagation and handling
  7. Template Rendering - Template compilation and rendering
  8. PDF Generation - PDF export process

Diagram Format

All diagrams are created using ASCII art for:

  • Easy version control (text-based)
  • Universal compatibility (no special tools needed)
  • Fast loading and rendering
  • Copy-paste friendly

Reading Diagrams

┌─────┐
│ Box │  = Component or module
└─────┘

  ↓     = Data flow direction
  →

┌─┬─┐
│A│B│   = Multiple components side by side
└─┴─┘

┌───────┐
│   ┌───┤  = Nested components
│   └───┘
└───────┘

Conventions

  • Solid lines (, ): Direct dependencies
  • Arrows (, ): Data flow direction
  • Boxes (┌─┐): Components, modules, files
  • Double lines (, ): Important/critical paths
  • Dotted (:, .): Optional or conditional paths