milvus/client
congqixia 555132c834
enhance: [GoSDK] Add reciever parse result cache (#44166)
Related to #44161

This PR:
- Add reciever parse result cache
- Fix for nil IDs unmarshal panicking (#42895)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Co-authored-by: wangcanjia <phpip@qq.com>
2025-09-02 16:33:52 +08:00
..
bulkwriter enhance: [GoSDK] Add content-type header for bulk import req (#38581) 2024-12-20 10:28:47 +08:00
column feat: add timesatmptz data type (#44005) 2025-08-26 15:59:53 +08:00
common enhance: Add grpc metadata header for client request time (#44059) 2025-08-27 14:27:49 +08:00
entity feat: add timesatmptz data type (#44005) 2025-08-26 15:59:53 +08:00
index enhance: [GoSDK] Support IvfRabitQ & MinHashLSH index (#43975) 2025-08-22 04:55:47 +08:00
milvusclient enhance: [GoSDK] Add reciever parse result cache (#44166) 2025-09-02 16:33:52 +08:00
row enhance: [GoSDK] Add reciever parse result cache (#44166) 2025-09-02 16:33:52 +08:00
ruleguard enhance: Add lint rules for client pkg and fix problems (#33180) 2024-05-20 20:47:38 +08:00
.golangci.yml enhance: cleanup lint check exclusions (#40829) 2025-03-21 18:12:14 +08:00
Makefile enhance: Generate milvusclient mockery with latest proto (#37567) 2024-11-11 14:28:30 +08:00
OWNERS enhance: Update latest sdk update to client pkg (#33105) 2024-05-17 10:39:37 +08:00
README.md enhance: Upgrade go version to 1.24.4 to fix CVEs (#43019) 2025-07-16 11:28:50 +08:00
go.mod enhance: Bump milvus & proto version to v2.6.1 (#44133) 2025-08-29 17:29:51 +08:00
go.sum enhance: Bump milvus & proto version to v2.6.1 (#44133) 2025-08-29 17:29:51 +08:00

README.md

Go MilvusClient

license Go Reference

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

Getting started

Prerequisites

Go 1.24.4 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/client/v2
    
  2. Include the Go MilvusClient in your application:

     import "github.com/milvus-io/milvus/client/v2/milvusclient"
    
     //...other snippet ...
     ctx, cancel := context.WithCancel(context.Background())
     defer cancel()
    
     milvusAddr := "YOUR_MILVUS_ENDPOINT"
    
     cli, err := milvusclient.New(ctx, &milvusclient.ClientConfig{
     	Address: milvusAddr,
     })
     if err != nil {
     	// handle error
     }
    
     // Do your work with milvus client
    

API Documentation

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

Code format

The Go source code is formatted using gci & gofumpt. Please run make lint-fix before sumbit a PR.