all: fix import groupings

check-imports was broken and didn't complain about things.

Change-Id: I38adafd16b4aba86f0eb4f53427b4393f9a6c710
This commit is contained in:
Egon Elbre 2020-01-20 17:29:53 +02:00
parent 0def7a9d2a
commit c1c878efcf
8 changed files with 4 additions and 12 deletions

View File

@ -13,7 +13,6 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/private/dbutil/pgutil/pgtest" "storj.io/storj/private/dbutil/pgutil/pgtest"
"storj.io/storj/private/dbutil/tempdb" "storj.io/storj/private/dbutil/tempdb"
"storj.io/storj/private/migrate" "storj.io/storj/private/migrate"

View File

@ -10,7 +10,6 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"storj.io/common/sync2" "storj.io/common/sync2"
"storj.io/storj/satellite/overlay" "storj.io/storj/satellite/overlay"
) )

View File

@ -11,7 +11,6 @@ import (
"go.uber.org/zap" "go.uber.org/zap"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/satellite" "storj.io/storj/satellite"
) )

View File

@ -10,7 +10,6 @@ import (
"github.com/gogo/protobuf/proto" "github.com/gogo/protobuf/proto"
"github.com/skyrings/skyring-common/tools/uuid" "github.com/skyrings/skyring-common/tools/uuid"
"github.com/zeebo/errs" "github.com/zeebo/errs"
"golang.org/x/time/rate" "golang.org/x/time/rate"
"storj.io/common/pb" "storj.io/common/pb"

View File

@ -10,10 +10,9 @@ import (
"github.com/zeebo/errs" "github.com/zeebo/errs"
"gopkg.in/spacemonkeygo/monkit.v2" "gopkg.in/spacemonkeygo/monkit.v2"
"storj.io/storj/private/dbutil/txutil"
// load our cockroach sql driver for anywhere that uses this dbx.Open // load our cockroach sql driver for anywhere that uses this dbx.Open
_ "storj.io/storj/private/dbutil/cockroachutil" _ "storj.io/storj/private/dbutil/cockroachutil"
"storj.io/storj/private/dbutil/txutil"
) )
//go:generate sh gen.sh //go:generate sh gen.sh

View File

@ -20,7 +20,6 @@ import (
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/private/dbutil/dbschema" "storj.io/storj/private/dbutil/dbschema"
"storj.io/storj/private/dbutil/pgutil" "storj.io/storj/private/dbutil/pgutil"
"storj.io/storj/private/dbutil/pgutil/pgtest" "storj.io/storj/private/dbutil/pgutil/pgtest"

View File

@ -16,7 +16,6 @@ import (
"go.uber.org/zap/zaptest" "go.uber.org/zap/zaptest"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/private/dbutil" "storj.io/storj/private/dbutil"
"storj.io/storj/private/dbutil/pgutil" "storj.io/storj/private/dbutil/pgutil"
"storj.io/storj/private/dbutil/pgutil/pgtest" "storj.io/storj/private/dbutil/pgutil/pgtest"

View File

@ -13,14 +13,13 @@ import (
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"go.uber.org/zap/zaptest" "go.uber.org/zap/zaptest"
"storj.io/common/identity/testidentity"
"storj.io/common/pb" "storj.io/common/pb"
"storj.io/common/peertls/extensions"
"storj.io/common/peertls/tlsopts" "storj.io/common/peertls/tlsopts"
"storj.io/common/rpc" "storj.io/common/rpc"
"storj.io/storj/pkg/server"
"storj.io/common/identity/testidentity"
"storj.io/common/peertls/extensions"
"storj.io/common/testcontext" "storj.io/common/testcontext"
"storj.io/storj/pkg/server"
"storj.io/storj/private/testplanet" "storj.io/storj/private/testplanet"
"storj.io/storj/storagenode/preflight" "storj.io/storj/storagenode/preflight"
"storj.io/storj/storagenode/trust" "storj.io/storj/storagenode/trust"