# jj/dermallorente architecture

> Architecture diagram of the GitHub repository jj/dermallorente, 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/jj/dermallorente
- Repository: https://github.com/jj/dermallorente

## Overview

Dermallorente’s sampled runtime is a small Go library that evaluates skin-risk levels from temperature, relative humidity, and wind speed, rejecting humidity outside 0–100%. The README also describes gathering UV, weather-forecast, and Granada air-quality data, but the available source does not show that ingestion workflow; it is therefore not mapped as implemented behavior.

Main entry points: [`internal/dermallorente/riesgo.go`](https://github.com/jj/dermallorente/blob/main/internal/dermallorente/riesgo.go) (Risk evaluator)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_risk_eval["Risk evaluator<br/>[riesgo.go]"]
node_risk_level["Risk level<br/>[riesgo.go]"]

node_risk_eval -->|"returns"| node_risk_level

click node_risk_eval "https://github.com/jj/dermallorente/blob/main/internal/dermallorente/riesgo.go"
click node_risk_level "https://github.com/jj/dermallorente/blob/main/internal/dermallorente/riesgo.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_risk_eval,node_risk_level toneTeal
```

## Components

### Other components

- [Risk evaluator](https://github.com/jj/dermallorente/blob/main/internal/dermallorente/riesgo.go): `internal/dermallorente/riesgo.go`
- [Risk level](https://github.com/jj/dermallorente/blob/main/internal/dermallorente/riesgo.go): `internal/dermallorente/riesgo.go`

## Connections

- Risk evaluator → Risk level: returns (evidence: `internal/dermallorente/riesgo.go`)
