Skip to content

Commit

Permalink
fix: use different formatter (gofumpt, goimportx)
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaclan authored and taukakao committed Jul 4, 2024
1 parent 06dcbc0 commit a24863d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion core/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"strings"

"github.com/mitchellh/mapstructure"

"github.com/vanilla-os/vib/api"
)

Expand Down
3 changes: 1 addition & 2 deletions core/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a24863d

Please sign in to comment.