A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/milvus-io/milvus-sdk-go/v2 below:

milvus-sdk-go module - github.com/milvus-io/milvus-sdk-go/v2 - Go Packages

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.17 or higher

Install Milvus Go SDK
  1. 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
    
  2. Include the Milvus Go SDK in your application:

    import "github.com/milvus-io/milvus-sdk-go/v2/client"
    
    //...other snippet ...
    client, err := client.NewClient(context.Background(), client.Config{
       Address: "localhost:19530",
    })
    if err != nil {
        // handle error
    }
    defer client.Close()
    
    client.HasCollection(context.Background(), "YOUR_COLLECTION_NAME")
    
API Documentation

Refer to https://milvus.io/api-reference/go/v2.2.x/About.md for the Go SDK API documentation.

Examples

See examples about how to use this package to communicate with Milvus

Code format

The Go source code is formatted using gofmt and golint.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4