aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-11-14 16:40:08 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-11-14 16:40:08 +0100
commit11b48749bf96fb1f7761df6d7a21cf1cd8484e20 (patch)
tree7ab3b438b9edf72bc34b633030cac7735fa4376c /cmd
parent3ca9dae95a3852a39c0ca1879a34fbf23098a9ff (diff)
Fix linting
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendrite-demo-pinecone/monolith/monolith.go4
-rw-r--r--cmd/dendrite-demo-yggdrasil/main.go4
-rw-r--r--cmd/dendrite/main.go2
3 files changed, 5 insertions, 5 deletions
diff --git a/cmd/dendrite-demo-pinecone/monolith/monolith.go b/cmd/dendrite-demo-pinecone/monolith/monolith.go
index d8b5f1c8..2fb5e675 100644
--- a/cmd/dendrite-demo-pinecone/monolith/monolith.go
+++ b/cmd/dendrite-demo-pinecone/monolith/monolith.go
@@ -18,8 +18,6 @@ import (
"sync"
"time"
- "github.com/gorilla/mux"
- "github.com/gorilla/websocket"
"github.com/element-hq/dendrite/appservice"
"github.com/element-hq/dendrite/cmd/dendrite-demo-pinecone/conn"
"github.com/element-hq/dendrite/cmd/dendrite-demo-pinecone/embed"
@@ -43,6 +41,8 @@ import (
"github.com/element-hq/dendrite/setup/process"
"github.com/element-hq/dendrite/userapi"
userAPI "github.com/element-hq/dendrite/userapi/api"
+ "github.com/gorilla/mux"
+ "github.com/gorilla/websocket"
"github.com/matrix-org/gomatrixserverlib/spec"
"github.com/sirupsen/logrus"
diff --git a/cmd/dendrite-demo-yggdrasil/main.go b/cmd/dendrite-demo-yggdrasil/main.go
index 8a0e3ee1..2c1eea38 100644
--- a/cmd/dendrite-demo-yggdrasil/main.go
+++ b/cmd/dendrite-demo-yggdrasil/main.go
@@ -19,15 +19,14 @@ import (
"path/filepath"
"time"
- "github.com/getsentry/sentry-go"
"github.com/element-hq/dendrite/internal/caching"
"github.com/element-hq/dendrite/internal/sqlutil"
"github.com/element-hq/dendrite/setup/jetstream"
"github.com/element-hq/dendrite/setup/process"
+ "github.com/getsentry/sentry-go"
"github.com/matrix-org/gomatrixserverlib"
"github.com/matrix-org/gomatrixserverlib/spec"
- "github.com/gorilla/mux"
"github.com/element-hq/dendrite/appservice"
"github.com/element-hq/dendrite/cmd/dendrite-demo-yggdrasil/embed"
"github.com/element-hq/dendrite/cmd/dendrite-demo-yggdrasil/signing"
@@ -44,6 +43,7 @@ import (
"github.com/element-hq/dendrite/setup/mscs"
"github.com/element-hq/dendrite/test"
"github.com/element-hq/dendrite/userapi"
+ "github.com/gorilla/mux"
"github.com/sirupsen/logrus"
)
diff --git a/cmd/dendrite/main.go b/cmd/dendrite/main.go
index 1a1a9f4c..da43432f 100644
--- a/cmd/dendrite/main.go
+++ b/cmd/dendrite/main.go
@@ -10,13 +10,13 @@ import (
"flag"
"time"
- "github.com/getsentry/sentry-go"
"github.com/element-hq/dendrite/internal"
"github.com/element-hq/dendrite/internal/caching"
"github.com/element-hq/dendrite/internal/httputil"
"github.com/element-hq/dendrite/internal/sqlutil"
"github.com/element-hq/dendrite/setup/jetstream"
"github.com/element-hq/dendrite/setup/process"
+ "github.com/getsentry/sentry-go"
"github.com/matrix-org/gomatrixserverlib/fclient"
"github.com/prometheus/client_golang/prometheus"
"github.com/sirupsen/logrus"