From 72310d4cadb9bbce2845f6dad71b605ade9ba698 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 8 Apr 2024 05:48:04 +0000 Subject: [PATCH] chore(autofmt): Automated formatting --- backend/schema/data.go | 2 +- backend/schema/validate.go | 2 +- buildengine/project.go | 3 +-- go-runtime/compile/build.go | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/backend/schema/data.go b/backend/schema/data.go index 2b630125dc..79d5850aab 100644 --- a/backend/schema/data.go +++ b/backend/schema/data.go @@ -4,10 +4,10 @@ import ( "fmt" "strings" - "github.com/TBD54566975/ftl/internal/reflect" "google.golang.org/protobuf/proto" schemapb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/schema" + "github.com/TBD54566975/ftl/internal/reflect" ) // A Data structure. diff --git a/backend/schema/validate.go b/backend/schema/validate.go index e6038e8644..363e5feff3 100644 --- a/backend/schema/validate.go +++ b/backend/schema/validate.go @@ -9,12 +9,12 @@ import ( "sort" "strings" - dc "github.com/TBD54566975/ftl/internal/reflect" "github.com/alecthomas/participle/v2" "github.com/alecthomas/types/optional" "golang.org/x/exp/maps" "github.com/TBD54566975/ftl/internal/errors" + dc "github.com/TBD54566975/ftl/internal/reflect" ) var ( diff --git a/buildengine/project.go b/buildengine/project.go index 37a15b634a..065bf92bdb 100644 --- a/buildengine/project.go +++ b/buildengine/project.go @@ -5,9 +5,8 @@ import ( "os" "path/filepath" - "github.com/TBD54566975/ftl/internal/reflect" - "github.com/TBD54566975/ftl/common/moduleconfig" + "github.com/TBD54566975/ftl/internal/reflect" ) // Project models FTL modules and external libraries and is used to manage dependencies within the build engine diff --git a/go-runtime/compile/build.go b/go-runtime/compile/build.go index 1d49e09b89..313e2aea66 100644 --- a/go-runtime/compile/build.go +++ b/go-runtime/compile/build.go @@ -12,7 +12,6 @@ import ( "strconv" "strings" - "github.com/TBD54566975/ftl/internal/reflect" "github.com/TBD54566975/scaffolder" "golang.org/x/mod/modfile" "golang.org/x/sync/errgroup" @@ -24,6 +23,7 @@ import ( "github.com/TBD54566975/ftl/internal" "github.com/TBD54566975/ftl/internal/exec" "github.com/TBD54566975/ftl/internal/log" + "github.com/TBD54566975/ftl/internal/reflect" ) type ExternalModuleContext struct {