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