[skip-ci]Fix golint in type_def.go (#8464)

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
XuanYang-cn 2021-09-24 21:43:56 +08:00 committed by GitHub
parent 2d9b4fedc9
commit 3aabc1d3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,20 @@ package datanode
import "github.com/milvus-io/milvus/internal/util/typeutil"
type (
UniqueID = typeutil.UniqueID
Timestamp = typeutil.Timestamp
// UniqueID is type int64
UniqueID = typeutil.UniqueID
// Timestamp is type uint64
Timestamp = typeutil.Timestamp
// IntPrimaryKey is type int64
IntPrimaryKey = typeutil.IntPrimaryKey
DSL = string
// DSL is type string
DSL = string
)
// TimeRange is a range of timestamp contains the min-timestamp and max-timestamp
type TimeRange struct {
timestampMin Timestamp
timestampMax Timestamp