aboutsummaryrefslogtreecommitdiff
path: root/internal/sqlutil
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-12-02 17:41:00 +0000
committerGitHub <noreply@github.com>2020-12-02 17:41:00 +0000
commitb5aa7ca3ab1c91397700637c91d60860a0535f1e (patch)
tree9da277c7b22027f09a7f45b0b0d771e44949e8f0 /internal/sqlutil
parent3ef6187e96ca2d68b3014bbd150e69971b6f7800 (diff)
Top-level setup package (#1605)
* Move config, setup, mscs into "setup" top-level folder * oops, forgot the EDU server * Add setup * goimports
Diffstat (limited to 'internal/sqlutil')
-rw-r--r--internal/sqlutil/migrate.go2
-rw-r--r--internal/sqlutil/trace.go2
-rw-r--r--internal/sqlutil/uri.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/sqlutil/migrate.go b/internal/sqlutil/migrate.go
index 833977ba..62b1c8fa 100644
--- a/internal/sqlutil/migrate.go
+++ b/internal/sqlutil/migrate.go
@@ -6,7 +6,7 @@ import (
"runtime"
"sort"
- "github.com/matrix-org/dendrite/internal/config"
+ "github.com/matrix-org/dendrite/setup/config"
"github.com/pressly/goose"
)
diff --git a/internal/sqlutil/trace.go b/internal/sqlutil/trace.go
index 0684e92e..ad004455 100644
--- a/internal/sqlutil/trace.go
+++ b/internal/sqlutil/trace.go
@@ -28,7 +28,7 @@ import (
"sync"
"time"
- "github.com/matrix-org/dendrite/internal/config"
+ "github.com/matrix-org/dendrite/setup/config"
"github.com/ngrok/sqlmw"
"github.com/sirupsen/logrus"
)
diff --git a/internal/sqlutil/uri.go b/internal/sqlutil/uri.go
index e2c825d9..44910f4a 100644
--- a/internal/sqlutil/uri.go
+++ b/internal/sqlutil/uri.go
@@ -19,7 +19,7 @@ import (
"fmt"
"net/url"
- "github.com/matrix-org/dendrite/internal/config"
+ "github.com/matrix-org/dendrite/setup/config"
)
// ParseFileURI returns the filepath in the given file: URI. Specifically, this will handle