Skip to content

Commit

Permalink
chore(autofmt): Automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 9, 2024
1 parent 557e22b commit 67f0347
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go-runtime/schema/config/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (
"go/types"
"strconv"

"github.com/TBD54566975/ftl/go-runtime/schema/initialize"
"github.com/TBD54566975/golang-tools/go/analysis"
"github.com/TBD54566975/golang-tools/go/analysis/passes/inspect"
"github.com/TBD54566975/golang-tools/go/ast/inspector"

"github.com/TBD54566975/ftl/go-runtime/schema/common"
"github.com/TBD54566975/ftl/go-runtime/schema/initialize"
)

// Extractor extracts config values relating to another decl, e.g. database configurations associated with a
Expand Down
2 changes: 1 addition & 1 deletion go-runtime/schema/database/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"go/ast"
"go/types"

"github.com/TBD54566975/ftl/go-runtime/schema/initialize"
"github.com/TBD54566975/golang-tools/go/analysis"
"github.com/alecthomas/types/optional"

"github.com/TBD54566975/ftl/go-runtime/schema/common"
"github.com/TBD54566975/ftl/go-runtime/schema/initialize"
"github.com/TBD54566975/ftl/internal/schema"
)

Expand Down
2 changes: 1 addition & 1 deletion go-runtime/schema/extract.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"go/types"
"time"

"github.com/TBD54566975/ftl/go-runtime/schema/config"
"github.com/TBD54566975/golang-tools/go/analysis"
"github.com/TBD54566975/golang-tools/go/analysis/passes/inspect"
checker "github.com/TBD54566975/golang-tools/go/analysis/programmaticchecker"
Expand All @@ -17,6 +16,7 @@ import (

"github.com/TBD54566975/ftl/go-runtime/schema/call"
"github.com/TBD54566975/ftl/go-runtime/schema/common"
"github.com/TBD54566975/ftl/go-runtime/schema/config"
"github.com/TBD54566975/ftl/go-runtime/schema/configsecret"
"github.com/TBD54566975/ftl/go-runtime/schema/data"
"github.com/TBD54566975/ftl/go-runtime/schema/database"
Expand Down
6 changes: 3 additions & 3 deletions go-runtime/server/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"time"

"github.com/XSAM/otelsql"
"github.com/alecthomas/types/once"
"go.opentelemetry.io/otel/attribute"
semconv "go.opentelemetry.io/otel/semconv/v1.4.0"

"github.com/TBD54566975/ftl/go-runtime/ftl"
"github.com/TBD54566975/ftl/go-runtime/ftl/reflection"
"github.com/TBD54566975/ftl/internal/modulecontext"
"github.com/alecthomas/types/once"
"go.opentelemetry.io/otel/attribute"
semconv "go.opentelemetry.io/otel/semconv/v1.4.0"
)

func PostgresDatabaseHandle[T ftl.DatabaseConfig]() reflection.VerbResource {
Expand Down
3 changes: 2 additions & 1 deletion go-runtime/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"strings"

"connectrpc.com/connect"
"github.com/alecthomas/types/optional"

ftlv1 "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1"
"github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1/ftlv1connect"
"github.com/TBD54566975/ftl/common/plugin"
Expand All @@ -22,7 +24,6 @@ import (
"github.com/TBD54566975/ftl/internal/observability"
"github.com/TBD54566975/ftl/internal/rpc"
"github.com/TBD54566975/ftl/internal/schema"
"github.com/alecthomas/types/optional"
)

type UserVerbConfig struct {
Expand Down

0 comments on commit 67f0347

Please sign in to comment.