From a968004d4e4e1641e37ace3141e5d5cefd82c1a1 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 20 Sep 2018 15:43:34 +0200 Subject: [PATCH] Lint: sort struct attributes to reduce memory usage --- reach/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reach/update.go b/reach/update.go index 1d078a3..0d8d445 100644 --- a/reach/update.go +++ b/reach/update.go @@ -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