module
Version:
v2.0.0-...-cf564f5
Opens a new window with list of versions in this module.
Published: Mar 3, 2023
License: Apache-2.0
Opens a new window with license information.
README
¶
Milvus Go SDK
Go SDK for Milvus. To contribute code to this project, please read our contribution guidelines first.
SDK versions
Note: Major versions is NOT compatible between Milvus and SDK
Getting started
Prerequisites
Go 1.15 or higher
Install Milvus Go SDK
-
Use go get
to install the latest version of the Milvus Go SDK and dependencies:
go get -u github.com/milvus-io/milvus-sdk-go/v2
-
Include the Milvus Go SDK in your application:
import "github.com/milvus-io/milvus-sdk-go/v2/client"
//...other snippet ...
client, err := client.NewGrpcClient(context.Background(), "address_of_milvus")
if err != nil {
// handle error
}
defer client.Close()
client.HasCollection(context.Background(), "YOUR_COLLECTION_NAME")
API Documentation
Refer to https://godoc.org/github.com/milvus-io/milvus-sdk-go/v2 for the GO SDK API documentation.
Examples
See examples about how to use this package to communicate with Milvus
The Go source code is formatted using gofmt and golint.
Click to show internal directories.
Click to hide internal directories.