[skip ci]Improve import statements (#11635)

Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
This commit is contained in:
Xiangyu Wang 2021-11-15 19:24:52 +08:00 committed by GitHub
parent ad09fb70ba
commit f26ab5c29a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 7 deletions

View File

@ -17,6 +17,7 @@ import (
"github.com/milvus-io/milvus/internal/log"
server "github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq"
"go.uber.org/zap"
)

View File

@ -15,6 +15,7 @@ import (
"sync"
"github.com/milvus-io/milvus/internal/log"
"go.uber.org/zap"
)

View File

@ -14,6 +14,7 @@ package rocksmq
import (
"github.com/milvus-io/milvus/internal/log"
server "github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq"
"go.uber.org/zap"
)

View File

@ -21,6 +21,7 @@ import (
"github.com/milvus-io/milvus/internal/log"
rocksmq "github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq"
server "github.com/milvus-io/milvus/internal/util/rocksmq/server/rocksmq"
"go.uber.org/zap"
)

View File

@ -18,11 +18,11 @@ import (
"sync/atomic"
"github.com/milvus-io/milvus/internal/allocator"
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
"github.com/milvus-io/milvus/internal/log"
"github.com/milvus-io/milvus/internal/util/paramtable"
"go.uber.org/zap"
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
"go.uber.org/zap"
)
// Rmq is global rocksmq instance that will be initialized only once

View File

@ -18,8 +18,8 @@ import (
"testing"
"github.com/milvus-io/milvus/internal/allocator"
etcdkv "github.com/milvus-io/milvus/internal/kv/etcd"
"github.com/stretchr/testify/assert"
)

View File

@ -22,12 +22,12 @@ import (
"github.com/milvus-io/milvus/internal/allocator"
"github.com/milvus-io/milvus/internal/kv"
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
"github.com/milvus-io/milvus/internal/log"
"github.com/milvus-io/milvus/internal/util/typeutil"
"github.com/tecbot/gorocksdb"
"go.uber.org/zap"
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
)
// UniqueID is the type of message ID

View File

@ -21,10 +21,10 @@ import (
"time"
"github.com/milvus-io/milvus/internal/allocator"
"github.com/milvus-io/milvus/internal/util/paramtable"
etcdkv "github.com/milvus-io/milvus/internal/kv/etcd"
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
"github.com/milvus-io/milvus/internal/util/paramtable"
"github.com/stretchr/testify/assert"
)

View File

@ -21,6 +21,7 @@ import (
rocksdbkv "github.com/milvus-io/milvus/internal/kv/rocksdb"
"github.com/milvus-io/milvus/internal/log"
"github.com/tecbot/gorocksdb"
"go.uber.org/zap"
)

View File

@ -20,6 +20,7 @@ import (
"time"
"github.com/milvus-io/milvus/internal/log"
"github.com/stretchr/testify/assert"
"go.uber.org/zap"
)