From f88f82ee8505c4c94bdf75f0deea320af8866689 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 18 Sep 2024 15:03:31 +1200 Subject: [PATCH] refactor: move field to end of struct --- pkg/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 23e7d7525b9..2a9acf703f9 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -31,10 +31,10 @@ type ConfigManager struct { type Config struct { IgnoredVulns []IgnoreEntry `toml:"IgnoredVulns"` PackageOverrides []PackageOverrideEntry `toml:"PackageOverrides"` + GoVersionOverride string `toml:"GoVersionOverride"` // The path to config file that this config was loaded from, // set by the scanner after having successfully parsed the file - LoadPath string `toml:"-"` - GoVersionOverride string `toml:"GoVersionOverride"` + LoadPath string `toml:"-"` } type IgnoreEntry struct {