From 0479017640cb649b27e2b8906cc20181da7119ba Mon Sep 17 00:00:00 2001 From: Ira Limitanei Date: Tue, 2 Jul 2024 16:15:36 +0900 Subject: [PATCH] fix: use different formatter (gofumpt, goimportx) --- core/build.go | 1 - core/loader.go | 3 +-- core/structs.go | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/build.go b/core/build.go index 566a0ba..9fe3c86 100644 --- a/core/build.go +++ b/core/build.go @@ -7,7 +7,6 @@ import ( "strings" "github.com/mitchellh/mapstructure" - "github.com/vanilla-os/vib/api" ) diff --git a/core/loader.go b/core/loader.go index fdd822b..dc6b360 100644 --- a/core/loader.go +++ b/core/loader.go @@ -10,9 +10,8 @@ import ( "strings" "github.com/mitchellh/mapstructure" - "gopkg.in/yaml.v3" - "github.com/vanilla-os/vib/api" + "gopkg.in/yaml.v3" ) // LoadRecipe loads a recipe from a file and returns a Recipe diff --git a/core/structs.go b/core/structs.go index 476e5eb..6443588 100644 --- a/core/structs.go +++ b/core/structs.go @@ -7,7 +7,7 @@ type Module struct { Workdir string Type string `json:"type"` Modules []map[string]interface{} - Content []byte + Content []byte // The entire module unparsed as a []byte, used by plugins } type IncludesModule struct {