Lint: sort struct attributes to reduce memory usage

This commit is contained in:
wpetit 2018-09-20 15:46:32 +02:00
parent 3adfc2a5bb
commit 3c8f85dcff
1 changed files with 4 additions and 3 deletions

View File

@ -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