mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00
Fix linting
This commit is contained in:
parent
3ca9dae95a
commit
11b48749bf
51 changed files with 68 additions and 65 deletions
|
@ -11,12 +11,12 @@ import (
|
|||
"context"
|
||||
"database/sql"
|
||||
|
||||
"github.com/lib/pq"
|
||||
"github.com/element-hq/dendrite/internal"
|
||||
"github.com/element-hq/dendrite/internal/sqlutil"
|
||||
"github.com/element-hq/dendrite/syncapi/storage/tables"
|
||||
"github.com/element-hq/dendrite/syncapi/synctypes"
|
||||
"github.com/element-hq/dendrite/syncapi/types"
|
||||
"github.com/lib/pq"
|
||||
)
|
||||
|
||||
const accountDataSchema = `
|
||||
|
|
|
@ -13,7 +13,6 @@ import (
|
|||
"encoding/json"
|
||||
"errors"
|
||||
|
||||
"github.com/lib/pq"
|
||||
"github.com/element-hq/dendrite/internal"
|
||||
"github.com/element-hq/dendrite/internal/sqlutil"
|
||||
rstypes "github.com/element-hq/dendrite/roomserver/types"
|
||||
|
@ -21,6 +20,7 @@ import (
|
|||
"github.com/element-hq/dendrite/syncapi/storage/tables"
|
||||
"github.com/element-hq/dendrite/syncapi/synctypes"
|
||||
"github.com/element-hq/dendrite/syncapi/types"
|
||||
"github.com/lib/pq"
|
||||
"github.com/matrix-org/gomatrixserverlib"
|
||||
"github.com/matrix-org/gomatrixserverlib/spec"
|
||||
)
|
||||
|
|
|
@ -14,7 +14,6 @@ import (
|
|||
"fmt"
|
||||
"sort"
|
||||
|
||||
"github.com/lib/pq"
|
||||
"github.com/element-hq/dendrite/internal"
|
||||
"github.com/element-hq/dendrite/internal/sqlutil"
|
||||
"github.com/element-hq/dendrite/roomserver/api"
|
||||
|
@ -23,6 +22,7 @@ import (
|
|||
"github.com/element-hq/dendrite/syncapi/storage/tables"
|
||||
"github.com/element-hq/dendrite/syncapi/synctypes"
|
||||
"github.com/element-hq/dendrite/syncapi/types"
|
||||
"github.com/lib/pq"
|
||||
"github.com/matrix-org/gomatrixserverlib"
|
||||
)
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@ import (
|
|||
"database/sql"
|
||||
|
||||
// Import the postgres database driver.
|
||||
_ "github.com/lib/pq"
|
||||
"github.com/element-hq/dendrite/internal/sqlutil"
|
||||
"github.com/element-hq/dendrite/setup/config"
|
||||
"github.com/element-hq/dendrite/syncapi/storage/postgres/deltas"
|
||||
"github.com/element-hq/dendrite/syncapi/storage/shared"
|
||||
_ "github.com/lib/pq"
|
||||
)
|
||||
|
||||
// SyncServerDatasource represents a sync server datasource which manages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue