diff --git a/cmd/clientFunc.go b/cmd/clientFunc.go index c6ad254..86202e0 100644 --- a/cmd/clientFunc.go +++ b/cmd/clientFunc.go @@ -19,6 +19,18 @@ type root struct { Temperatura struct { Maxima string `json:"maxima"` 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"` + } } } }