From 67f1839ddc84faddf03295af2779070f7e29a9ec Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Sun, 12 Mar 2023 20:39:01 -0700 Subject: [PATCH] filelist/modules: fix order of struct items to reduce memory Another one found by fieldalignment: modules.go:18:14: struct with 32 pointer bytes could be 24 Probably not going to matter much... but let's just get rid of the warning. --- internal/filelist/modules/modules.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/filelist/modules/modules.go b/internal/filelist/modules/modules.go index df8f6d0..7ff7ca7 100644 --- a/internal/filelist/modules/modules.go +++ b/internal/filelist/modules/modules.go @@ -16,8 +16,8 @@ import ( ) type Modules struct { - modulesList []string modulesListPath string + modulesList []string } // New returns a new Modules that will use the given moduleto provide a list