Fix a couple of issues reported by go-vet.

This commit is contained in:
Jeffrey Walter 2019-10-10 23:48:35 +03:00 committed by GitHub
parent 0025c270c4
commit 8802c6224c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ type Account struct {
type AppStore struct {
Enforce bool `json:"enforce"`
LatestVersion string `json:"latestVersion"`
updateLink string `json:"updateLink"`
UpdateLink string `json:"updateLink"`
}
type Session struct {
@ -235,7 +235,7 @@ type BaseNightLightProperties struct {
Brightness int `json:"brightness,omitempty"`
Enabled bool `json:"enabled"`
Mode string `json:"mode,omitempty"`
RGB NightLightRGBProperties `json:"mode,omitempty"`
RGB NightLightRGBProperties `json:"rgb,omitempty"`
SleepTime int64 `json:"sleepTime,omitempty"`
SleepTimeRel int `json:"sleepTimeRel,omitempty"`
}