Expand JSON struct

This commit is contained in:
raul 2024-05-13 08:26:11 +02:00
parent bef2a46c41
commit bb2a3adb83
1 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,18 @@ type root struct {
Temperatura struct { Temperatura struct {
Maxima string `json:"maxima"` Maxima string `json:"maxima"`
Minima string `json:"minima"` Minima string `json:"minima"`
Dato []struct {
Valor string `json:"#content"`
Hora string `json:"-hora"`
}
}
Sens_Termica struct {
Maxima string `json:"maxima"`
Minima string `json:"minima"`
Dato []struct {
Valor string `json:"#content"`
Hora string `json:"-hora"`
}
} }
} }
} }