Lint: sort struct attributes to reduce memory usage

This commit is contained in:
wpetit 2018-09-20 15:43:34 +02:00
parent 5f6dcd2253
commit a968004d4e
1 changed files with 1 additions and 1 deletions

View File

@ -15,8 +15,8 @@ const (
// UpdateStatus embeds informations about update status
type UpdateStatus struct {
Active bool `json:"active"`
State string `json:"state"`
Locked bool `json:"locked"`
State string `json:"state"`
}
// Update asks the ReachRS module to start an OPKG update