From 40524887f34eefd659d1f1412fea30c444d8b512 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 5 Dec 2024 05:58:18 +0000 Subject: [PATCH] chore(autofmt): Automated formatting --- backend/ingress/handler.go | 2 +- backend/timeline/events_async.go | 5 +++-- backend/timeline/events_call.go | 7 ++++--- backend/timeline/events_deployment.go | 3 ++- backend/timeline/events_ingress.go | 5 +++-- backend/timeline/events_log.go | 5 +++-- backend/timeline/events_pubsub_consume.go | 5 +++-- backend/timeline/events_pubsub_publish.go | 7 ++++--- backend/timeline/publish.go | 1 + 9 files changed, 24 insertions(+), 16 deletions(-) diff --git a/backend/ingress/handler.go b/backend/ingress/handler.go index be87e3bad0..3e72297b86 100644 --- a/backend/ingress/handler.go +++ b/backend/ingress/handler.go @@ -9,13 +9,13 @@ import ( "time" "connectrpc.com/connect" - "github.com/TBD54566975/ftl/backend/timeline" "github.com/alecthomas/types/optional" "github.com/TBD54566975/ftl/backend/controller/observability" "github.com/TBD54566975/ftl/backend/libdal" schemapb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/schema/v1" ftlv1 "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1" + "github.com/TBD54566975/ftl/backend/timeline" "github.com/TBD54566975/ftl/internal/log" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" diff --git a/backend/timeline/events_async.go b/backend/timeline/events_async.go index d047e70a38..5d8921017f 100644 --- a/backend/timeline/events_async.go +++ b/backend/timeline/events_async.go @@ -3,11 +3,12 @@ package timeline import ( "time" + "github.com/alecthomas/types/optional" + "google.golang.org/protobuf/types/known/timestamppb" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" - "github.com/alecthomas/types/optional" - "google.golang.org/protobuf/types/known/timestamppb" ) // type AsyncExecuteEvent struct { diff --git a/backend/timeline/events_call.go b/backend/timeline/events_call.go index ab59e41c9d..7052b62eee 100644 --- a/backend/timeline/events_call.go +++ b/backend/timeline/events_call.go @@ -3,13 +3,14 @@ package timeline import ( "time" + "github.com/alecthomas/types/optional" + "github.com/alecthomas/types/result" + "google.golang.org/protobuf/types/known/timestamppb" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" ftlv1 "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/v1" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" - "github.com/alecthomas/types/optional" - "github.com/alecthomas/types/result" - "google.golang.org/protobuf/types/known/timestamppb" ) // type CallEvent struct { diff --git a/backend/timeline/events_deployment.go b/backend/timeline/events_deployment.go index 370125735a..69eb8f75cf 100644 --- a/backend/timeline/events_deployment.go +++ b/backend/timeline/events_deployment.go @@ -3,9 +3,10 @@ package timeline import ( "time" + "github.com/alecthomas/types/optional" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/internal/model" - "github.com/alecthomas/types/optional" ) type DeploymentCreated struct { diff --git a/backend/timeline/events_ingress.go b/backend/timeline/events_ingress.go index 2383471767..d0ac9bc62a 100644 --- a/backend/timeline/events_ingress.go +++ b/backend/timeline/events_ingress.go @@ -4,11 +4,12 @@ import ( "net/http" "time" + "github.com/alecthomas/types/optional" + "google.golang.org/protobuf/types/known/timestamppb" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" - "github.com/alecthomas/types/optional" - "google.golang.org/protobuf/types/known/timestamppb" ) // type IngressEvent struct { diff --git a/backend/timeline/events_log.go b/backend/timeline/events_log.go index be95136554..09c915ab0a 100644 --- a/backend/timeline/events_log.go +++ b/backend/timeline/events_log.go @@ -3,10 +3,11 @@ package timeline import ( "time" - timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" - "github.com/TBD54566975/ftl/internal/model" "github.com/alecthomas/types/optional" "google.golang.org/protobuf/types/known/timestamppb" + + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" + "github.com/TBD54566975/ftl/internal/model" ) type Log struct { diff --git a/backend/timeline/events_pubsub_consume.go b/backend/timeline/events_pubsub_consume.go index 0d9758bda9..aa7de3c5da 100644 --- a/backend/timeline/events_pubsub_consume.go +++ b/backend/timeline/events_pubsub_consume.go @@ -3,11 +3,12 @@ package timeline import ( "time" + "github.com/alecthomas/types/optional" + "google.golang.org/protobuf/types/known/timestamppb" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" - "github.com/alecthomas/types/optional" - "google.golang.org/protobuf/types/known/timestamppb" ) // type PubSubConsumeEvent struct { diff --git a/backend/timeline/events_pubsub_publish.go b/backend/timeline/events_pubsub_publish.go index 6da6533259..dcc0d8d964 100644 --- a/backend/timeline/events_pubsub_publish.go +++ b/backend/timeline/events_pubsub_publish.go @@ -3,13 +3,14 @@ package timeline import ( "time" + "github.com/alecthomas/types/optional" + "google.golang.org/protobuf/types/known/durationpb" + "google.golang.org/protobuf/types/known/timestamppb" + deployment "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/deployment/v1" timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/internal/model" "github.com/TBD54566975/ftl/internal/schema" - "github.com/alecthomas/types/optional" - "google.golang.org/protobuf/types/known/durationpb" - "google.golang.org/protobuf/types/known/timestamppb" ) // type PubSubPublishEvent struct { diff --git a/backend/timeline/publish.go b/backend/timeline/publish.go index 22ac3aa5cb..4b13118ef0 100644 --- a/backend/timeline/publish.go +++ b/backend/timeline/publish.go @@ -4,6 +4,7 @@ import ( "context" "connectrpc.com/connect" + timelinepb "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1" "github.com/TBD54566975/ftl/backend/protos/xyz/block/ftl/timeline/v1/timelinev1connect" "github.com/TBD54566975/ftl/internal/log"