mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
enhance: [GoSDK] migrate Go client module path to v3 (#51539)
Related to #51419 Update the Go client module path, imports, dependencies, tests, examples, and documentation from client/v2 to client/v3. Set the SDK version to 3.0.0 in preparation for the Milvus 3.0 release. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
+4
-4
@@ -1,7 +1,7 @@
|
|||||||
# Go MilvusClient
|
# Go MilvusClient
|
||||||
|
|
||||||
[](https://github.com/milvus-io/milvus/blob/master/LICENSE)
|
[](https://github.com/milvus-io/milvus/blob/master/LICENSE)
|
||||||
[](https://pkg.go.dev/github.com/milvus-io/milvus/client/v2)
|
[](https://pkg.go.dev/github.com/milvus-io/milvus/client/v3)
|
||||||
|
|
||||||
Go MilvusClient for [Milvus](https://github.com/milvus-io/milvus). To contribute code to this project, please read our [contribution guidelines](https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md) first.
|
Go MilvusClient for [Milvus](https://github.com/milvus-io/milvus). To contribute code to this project, please read our [contribution guidelines](https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md) first.
|
||||||
|
|
||||||
@@ -17,13 +17,13 @@ Go 1.24.12 or higher
|
|||||||
1. Use `go get` to install the latest version of the Milvus Go SDK and dependencies:
|
1. Use `go get` to install the latest version of the Milvus Go SDK and dependencies:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go get -u github.com/milvus-io/milvus/client/v2
|
go get -u github.com/milvus-io/milvus/client/v3
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Include the Go MilvusClient in your application:
|
2. Include the Go MilvusClient in your application:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/milvus-io/milvus/client/v2/milvusclient"
|
import "github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
|
|
||||||
//...other snippet ...
|
//...other snippet ...
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
@@ -43,7 +43,7 @@ Go 1.24.12 or higher
|
|||||||
|
|
||||||
### API Documentation
|
### API Documentation
|
||||||
|
|
||||||
Refer to [https://milvus.io/api-reference/go/v2.5.x/About.md](https://milvus.io/api-reference/go/v2.5.x/About.md) for the Go SDK API documentation.
|
Refer to [https://milvus.io/api-reference/go/v3.0.x/About.md](https://milvus.io/api-reference/go/v3.0.x/About.md) for the Go SDK API documentation.
|
||||||
|
|
||||||
## Code format
|
## Code format
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ package column
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// columnArrayBase implement `Column` interface
|
// columnArrayBase implement `Column` interface
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ArraySuite struct {
|
type ArraySuite struct {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Column interface field type for column-based data frame
|
// Column interface field type for column-based data frame
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIDColumns(t *testing.T) {
|
func TestIDColumns(t *testing.T) {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func slice2Scalar[T any](values []T, elementType entity.FieldType) *schemapb.ScalarField {
|
func slice2Scalar[T any](values []T, elementType entity.FieldType) *schemapb.ScalarField {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GColumn[T any] interface {
|
type GColumn[T any] interface {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GenericBaseSuite struct {
|
type GenericBaseSuite struct {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"github.com/cockroachdb/errors"
|
"github.com/cockroachdb/errors"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ColumnGeometryWKT struct {
|
type ColumnGeometryWKT struct {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ColumnGeometryWKTSuite struct {
|
type ColumnGeometryWKTSuite struct {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ (Column) = (*ColumnVarChar)(nil)
|
var _ (Column) = (*ColumnVarChar)(nil)
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ColumnJSONBytesSuite struct {
|
type ColumnJSONBytesSuite struct {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
"github.com/cockroachdb/errors"
|
"github.com/cockroachdb/errors"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type NullableScalarSuite struct {
|
type NullableScalarSuite struct {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
/* bool */
|
/* bool */
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ScalarSuite struct {
|
type ScalarSuite struct {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ (Column) = (*ColumnSparseFloatVector)(nil)
|
var _ (Column) = (*ColumnSparseFloatVector)(nil)
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestColumnSparseEmbedding(t *testing.T) {
|
func TestColumnSparseEmbedding(t *testing.T) {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// columnStructArray represents a struct-array field. Each sub-column must itself be an
|
// columnStructArray represents a struct-array field. Each sub-column must itself be an
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StructArraySuite struct {
|
type StructArraySuite struct {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type vectorBase[T entity.Vector] struct {
|
type vectorBase[T entity.Vector] struct {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
"github.com/cockroachdb/errors"
|
"github.com/cockroachdb/errors"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// columnVectorArrayBase implements `Column` for vector-array sub-fields of struct array.
|
// columnVectorArrayBase implements `Column` for vector-array sub-fields of struct array.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type VectorArraySuite struct {
|
type VectorArraySuite struct {
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
type VectorSuite struct {
|
type VectorSuite struct {
|
||||||
|
|||||||
@@ -18,5 +18,5 @@ package common
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// SDKVersion const value for current version
|
// SDKVersion const value for current version
|
||||||
SDKVersion = `2.6.0`
|
SDKVersion = `3.0.0`
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ package entity_test
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleNewSchema() {
|
func ExampleNewSchema() {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
package entity
|
package entity
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Vector interface vector used int search
|
// Vector interface vector used int search
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
module github.com/milvus-io/milvus/client/v2
|
module github.com/milvus-io/milvus/client/v3
|
||||||
|
|
||||||
go 1.24.9
|
go 1.24.9
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ package index_test
|
|||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleNewAutoIndex() {
|
func ExampleNewAutoIndex() {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ package index
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// index param field tag
|
// index param field tag
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestIvfRabitQ(t *testing.T) {
|
func TestIvfRabitQ(t *testing.T) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
package index
|
package index
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ Index = &JSONPathIndex{}
|
var _ Index = &JSONPathIndex{}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestJsonPathIndex(t *testing.T) {
|
func TestJsonPathIndex(t *testing.T) {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ package index
|
|||||||
import (
|
import (
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMinHashLSHIndex(t *testing.T) {
|
func TestMinHashLSHIndex(t *testing.T) {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GetServerVersionOption is the interface for GetServerVersion request.
|
// GetServerVersionOption is the interface for GetServerVersion request.
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AdminSuite struct {
|
type AdminSuite struct {
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) CreateAlias(ctx context.Context, option CreateAliasOption, callOptions ...grpc.CallOption) error {
|
func (c *Client) CreateAlias(ctx context.Context, option CreateAliasOption, callOptions ...grpc.CallOption) error {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_CreateAlias() {
|
func ExampleClient_CreateAlias() {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type AliasSuite struct {
|
type AliasSuite struct {
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/crypto"
|
"github.com/milvus-io/milvus/client/v3/internal/crypto"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Client struct {
|
type Client struct {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreateCollection is the API for create a collection in Milvus.
|
// CreateCollection is the API for create a collection in Milvus.
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreateCollectionOption is the interface builds CreateCollectionRequest.
|
// CreateCollectionOption is the interface builds CreateCollectionRequest.
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CollectionSuite struct {
|
type CollectionSuite struct {
|
||||||
|
|||||||
@@ -6,11 +6,11 @@ import (
|
|||||||
|
|
||||||
"github.com/cockroachdb/errors"
|
"github.com/cockroachdb/errors"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/conc"
|
"github.com/milvus-io/milvus/client/v3/internal/conc"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/retry"
|
"github.com/milvus-io/milvus/client/v3/internal/retry"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CollectionCache stores the cached collection schema information.
|
// CollectionCache stores the cached collection schema information.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CommonSuite struct {
|
type CommonSuite struct {
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) UseDatabase(ctx context.Context, option UseDatabaseOption) error {
|
func (c *Client) UseDatabase(ctx context.Context, option UseDatabaseOption) error {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_CreateDatabase() {
|
func ExampleClient_CreateDatabase() {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UseDatabaseOption interface {
|
type UseDatabaseOption interface {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DatabaseSuite struct {
|
type DatabaseSuite struct {
|
||||||
|
|||||||
@@ -14,5 +14,5 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// Package milvusclient implements the official Go Milvus client for v2.
|
// Package milvusclient implements the official Go Milvus client for v3.
|
||||||
package milvusclient
|
package milvusclient
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
package milvusclient
|
package milvusclient
|
||||||
|
|
||||||
import "github.com/milvus-io/milvus/client/v2/internal/merr"
|
import "github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
|
|
||||||
// RPCError is the structured error returned for a failed Milvus RPC.
|
// RPCError is the structured error returned for a failed Milvus RPC.
|
||||||
type RPCError = merr.RPCError
|
type RPCError = merr.RPCError
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRPCErrorPublicAPI(t *testing.T) {
|
func TestRPCErrorPublicAPI(t *testing.T) {
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// RefreshExternalCollectionResult contains the result of a refresh external collection operation.
|
// RefreshExternalCollectionResult contains the result of a refresh external collection operation.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRefreshExternalCollectionOption(t *testing.T) {
|
func TestRefreshExternalCollectionOption(t *testing.T) {
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateIndexTask struct {
|
type CreateIndexTask struct {
|
||||||
|
|||||||
@@ -21,9 +21,9 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_CreateIndex() {
|
func ExampleClient_CreateIndex() {
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateIndexOption interface {
|
type CreateIndexOption interface {
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type IndexSuite struct {
|
type IndexSuite struct {
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SearchIteratorOption interface {
|
type SearchIteratorOption interface {
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SearchIteratorSuite struct {
|
type SearchIteratorSuite struct {
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/msgpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/msgpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type LoadTask struct {
|
type LoadTask struct {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_GetLoadState() {
|
func ExampleClient_GetLoadState() {
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MaintenanceSuite struct {
|
type MaintenanceSuite struct {
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreatePartition is the API for creating a partition for a collection.
|
// CreatePartition is the API for creating a partition for a collection.
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_ListPartitions() {
|
func ExampleClient_ListPartitions() {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PartitionSuite struct {
|
type PartitionSuite struct {
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) ListUsers(ctx context.Context, opt ListUserOption, callOpts ...grpc.CallOption) ([]string, error) {
|
func (c *Client) ListUsers(ctx context.Context, opt ListUserOption, callOpts ...grpc.CallOption) ([]string, error) {
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ package milvusclient_test
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_GrantPrivilege() {
|
func ExampleClient_GrantPrivilege() {
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/crypto"
|
"github.com/milvus-io/milvus/client/v3/internal/crypto"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ListUserOption interface {
|
type ListUserOption interface {
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/crypto"
|
"github.com/milvus-io/milvus/client/v3/internal/crypto"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type UserSuite struct {
|
type UserSuite struct {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) CreatePrivilegeGroup(ctx context.Context, option CreatePrivilegeGroupOption, callOptions ...grpc.CallOption) error {
|
func (c *Client) CreatePrivilegeGroup(ctx context.Context, option CreatePrivilegeGroupOption, callOptions ...grpc.CallOption) error {
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) Search(ctx context.Context, option SearchOption, callOptions ...grpc.CallOption) ([]ResultSet, error) {
|
func (c *Client) Search(ctx context.Context, option SearchOption, callOptions ...grpc.CallOption) ([]ResultSet, error) {
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_Search_basic() {
|
func ExampleClient_Search_basic() {
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SearchOptionSuite struct {
|
type SearchOptionSuite struct {
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/index"
|
"github.com/milvus-io/milvus/client/v3/index"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReadSuite struct {
|
type ReadSuite struct {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UpdateReplicateConfiguration updates the replicate configuration to the Milvus cluster.
|
// UpdateReplicateConfiguration updates the replicate configuration to the Milvus cluster.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReplicateSuite struct {
|
type ReplicateSuite struct {
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *Client) ListResourceGroups(ctx context.Context, opt ListResourceGroupsOption, callOptions ...grpc.CallOption) ([]string, error) {
|
func (c *Client) ListResourceGroups(ctx context.Context, opt ListResourceGroupsOption, callOptions ...grpc.CallOption) ([]string, error) {
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_CreateResourceGroup() {
|
func ExampleClient_CreateResourceGroup() {
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ListResourceGroupsOption interface {
|
type ListResourceGroupsOption interface {
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ import (
|
|||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/rgpb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ResourceGroupSuite struct {
|
type ResourceGroupSuite struct {
|
||||||
|
|||||||
@@ -23,9 +23,9 @@ import (
|
|||||||
"github.com/cockroachdb/errors"
|
"github.com/cockroachdb/errors"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/row"
|
"github.com/milvus-io/milvus/client/v3/row"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ResultSet is struct for search result set.
|
// ResultSet is struct for search result set.
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ResultSetSuite struct {
|
type ResultSetSuite struct {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func makeAggBucketProto() *schemapb.AggBucket {
|
func makeAggBucketProto() *schemapb.AggBucket {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CreateSnapshot creates a snapshot for the specified collection
|
// CreateSnapshot creates a snapshot for the specified collection
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type SnapshotSuite struct {
|
type SnapshotSuite struct {
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/commonpb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/common"
|
"github.com/milvus-io/milvus/client/v3/common"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TelemetryConfig holds configurable settings for client telemetry
|
// TelemetryConfig holds configurable settings for client telemetry
|
||||||
|
|||||||
@@ -24,8 +24,8 @@ import (
|
|||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InsertResult struct {
|
type InsertResult struct {
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/milvusclient"
|
"github.com/milvus-io/milvus/client/v3/milvusclient"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleClient_Insert_columnbase() {
|
func ExampleClient_Insert_columnbase() {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"github.com/stretchr/testify/suite"
|
"github.com/stretchr/testify/suite"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ColumnBasedDataOptionSuite struct {
|
type ColumnBasedDataOptionSuite struct {
|
||||||
|
|||||||
@@ -26,10 +26,10 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/typeutil"
|
"github.com/milvus-io/milvus/client/v3/internal/typeutil"
|
||||||
"github.com/milvus-io/milvus/client/v2/row"
|
"github.com/milvus-io/milvus/client/v3/row"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InsertOption interface {
|
type InsertOption interface {
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ import (
|
|||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/column"
|
"github.com/milvus-io/milvus/client/v3/column"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func buildPartialOpTestCollection() *entity.Collection {
|
func buildPartialOpTestCollection() *entity.Collection {
|
||||||
|
|||||||
@@ -29,8 +29,8 @@ import (
|
|||||||
|
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/milvuspb"
|
||||||
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
"github.com/milvus-io/milvus-proto/go-api/v3/schemapb"
|
||||||
"github.com/milvus-io/milvus/client/v2/entity"
|
"github.com/milvus-io/milvus/client/v3/entity"
|
||||||
"github.com/milvus-io/milvus/client/v2/internal/merr"
|
"github.com/milvus-io/milvus/client/v3/internal/merr"
|
||||||
)
|
)
|
||||||
|
|
||||||
type WriteSuite struct {
|
type WriteSuite struct {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user