百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

milvus-sdk-go

> 编程语言
开源

Milvus 专用 Go SDK(已过时)

367 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Milvus 专用 Go SDK(已过时)

Milvus Go SDK

Note this repo is deprecated. Go to https://github.com/milvus-io/milvus/tree/master/client for the newest Go SDK

[![Mergify Status][mergify-status]][mergify] [mergify]: https://mergify.io [mergify-status]: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/milvus-io/milvus-sdk-go&style=plastic

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.4.x 2.4.0
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:

    bash
    go get -u github.com/milvus-io/milvus-sdk-go/v2
  2. Include the Milvus Go SDK in your application:

    go
    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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goannsgohacktoberfestsdk

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言