From 3c8f85dcff5020c1d8cc96f940ff559bd4be8b95 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 20 Sep 2018 15:46:32 +0200 Subject: [PATCH] Lint: sort struct attributes to reduce memory usage --- reach/test_results.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reach/test_results.go b/reach/test_results.go index 0c050b9..d7ee808 100644 --- a/reach/test_results.go +++ b/reach/test_results.go @@ -13,12 +13,13 @@ const ( ) // TestResults are the ReachRS module's test results +// type TestResults struct { - UBlox bool `json:"u-blox"` - STC bool `json:"stc"` - MPU bool `json:"mpu"` Device string `json:"device"` Lora bool `json:"lora"` + MPU bool `json:"mpu"` + STC bool `json:"stc"` + UBlox bool `json:"u-blox"` } // TestResults returns the ReachRS module tests results