lowercase JSON field for GKI
This commit is contained in:
parent
f338aea288
commit
d4b7833a5e
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user