Lint: sort struct attributes to reduce memory usage
This commit is contained in:
parent
5f6dcd2253
commit
a968004d4e
|
@ -15,8 +15,8 @@ const (
|
||||||
// UpdateStatus embeds informations about update status
|
// UpdateStatus embeds informations about update status
|
||||||
type UpdateStatus struct {
|
type UpdateStatus struct {
|
||||||
Active bool `json:"active"`
|
Active bool `json:"active"`
|
||||||
State string `json:"state"`
|
|
||||||
Locked bool `json:"locked"`
|
Locked bool `json:"locked"`
|
||||||
|
State string `json:"state"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update asks the ReachRS module to start an OPKG update
|
// Update asks the ReachRS module to start an OPKG update
|
||||||
|
|
Reference in New Issue