Skip to content

ThreadDao/milvus-sdk-go

This branch is 1 commit ahead of, 173 commits behind milvus-io/milvus-sdk-go:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 7, 2023
0e16078 · Aug 7, 2023
Aug 4, 2023
Aug 7, 2023
Aug 4, 2023
Jun 28, 2023
Aug 1, 2023
Aug 4, 2023
Mar 8, 2023
Jun 28, 2023
Nov 23, 2022
Aug 3, 2023
Apr 21, 2023
May 5, 2022
Jul 20, 2022
Jul 16, 2021
Sep 10, 2021
Dec 25, 2019
Jun 10, 2023
Jul 28, 2023
Jun 28, 2023
May 19, 2023
Jun 28, 2023
Jun 28, 2023

Repository files navigation

Milvus Go SDK

license Mergify Status Go Reference

Go SDK for Milvus. To contribute code to this project, please read our contribution guidelines first.

SDK versions

Milvus version Recommended Go SDK version
2.2.x 2.2.2
2.1.0 2.1.0
2.0.0 2.0.0
1.1.x 1.1.0
1.0.x 1.0.0

Note: Major versions is NOT compatible between Milvus and SDK

Getting started

Prerequisites

Go 1.15 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.

About

Go SDK for Milvus.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.7%
  • Shell 1.9%
  • Makefile 0.4%