Giter Club home page Giter Club logo

milvus-sdk-go's Introduction

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.3.x 2.3.1
2.2.x 2.2.8
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.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.

milvus-sdk-go's People

Contributors

aoiasd avatar bigsheeper avatar chasingegg avatar chyezh avatar congqixia avatar czs007 avatar dependabot[bot] avatar diptochakrabarty avatar fishpenguin avatar hard-coder05 avatar huanghaoyuanhhy avatar jaime0815 avatar jhonroxton avatar letian-jiang avatar locorichard avatar reigenaraka avatar sarthakjain26 avatar simfg avatar smellthemoon avatar tedxu avatar testwill avatar threaddao avatar wayblink avatar wg1026688210 avatar xiaocai2333 avatar xiyichan avatar yah01 avatar zach41 avatar zc2638 avatar zhuyaguang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.