lowercase JSON field for GKI

This commit is contained in:
agatha 2024-05-12 18:57:02 -04:00
parent f338aea288
commit d4b7833a5e

View File

@ -31,7 +31,7 @@ type Reading struct {
Time time.Time `json:"time"` Time time.Time `json:"time"`
Glucose float64 `json:"glucose"` Glucose float64 `json:"glucose"`
Ketone float64 `json:"ketone"` Ketone float64 `json:"ketone"`
GKI float64 `json:"GKI"` GKI float64 `json:"gki"`
} }
// NewReading creates a new Reading instance capturing the current time, glucose level, // NewReading creates a new Reading instance capturing the current time, glucose level,