# luispv05/luismecanico architecture

> Architecture diagram of the GitHub repository luispv05/luismecanico, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/luispv05/luismecanico
- Repository: https://github.com/luispv05/luismecanico

## Overview

LuisMecánico describes a workshop appointment planner intended to help a receptionist avoid scheduling repairs that compete for equipment. The shown Go code implements only a small domain model: appointments carry a start time and repair type, and a notebook holds appointments. The repair type records duration and whether it uses a lift. The README describes broader scheduling and conflict-management needs, but no scheduling logic or resource-availability checks appear in the excerpts, so those are not represented as implemented components.

Main entry points: [`internal/taller/cita.go`](https://github.com/luispv05/luismecanico/blob/main/internal/taller/cita.go) (Appointment), [`internal/taller/libreta.go`](https://github.com/luispv05/luismecanico/blob/main/internal/taller/libreta.go) (Appointment notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_receptionist(("Receptionist"))
node_appointment["Appointment<br/>[cita.go]"]
node_repair_type["Repair type<br/>[cita.go]"]
node_notebook["Appointment notebook<br/>[libreta.go]"]

node_receptionist -->|"records"| node_appointment
node_appointment -->|"has type"| node_repair_type
node_notebook -->|"stores"| node_appointment

click node_appointment "https://github.com/luispv05/luismecanico/blob/main/internal/taller/cita.go"
click node_repair_type "https://github.com/luispv05/luismecanico/blob/main/internal/taller/cita.go"
click node_notebook "https://github.com/luispv05/luismecanico/blob/main/internal/taller/libreta.go"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_receptionist toneIndigo
class node_appointment,node_repair_type,node_notebook toneTeal
```

## Components

### Other components

- **Receptionist**
- [Appointment](https://github.com/luispv05/luismecanico/blob/main/internal/taller/cita.go): `internal/taller/cita.go`
- [Repair type](https://github.com/luispv05/luismecanico/blob/main/internal/taller/cita.go): `internal/taller/cita.go`
- [Appointment notebook](https://github.com/luispv05/luismecanico/blob/main/internal/taller/libreta.go): `internal/taller/libreta.go`

## Connections

- Receptionist → Appointment: records (evidence: `README.md`)
- Appointment → Repair type: has type (evidence: `internal/taller/cita.go`)
- Appointment notebook → Appointment: stores (evidence: `internal/taller/libreta.go`)
