Fix a couple of issues reported by go-vet.
This commit is contained in:
parent
0025c270c4
commit
8802c6224c
4
types.go
4
types.go
@ -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"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user