mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
## Summary - Upgrade `google.golang.org/grpc` from v1.71.1 to v1.79.3 (CVE-2026-33186 **CRITICAL** - Authorization Bypass via improper HTTP/2 `:path` pseudo-header validation) - Upgrade `github.com/quic-go/quic-go` from v0.54.0 to v0.54.1 (CVE-2025-59530 **HIGH** - DoS via premature HANDSHAKE_DONE frame) - Updated across all Go modules (root, pkg, client, tests/go_client) issue: #48574 ## Test plan - [ ] CI passes - [ ] Image scan clean for CVE-2026-33186 and CVE-2025-59530 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Li Liu <li.liu@zilliz.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Go MilvusClient
Go MilvusClient for Milvus. To contribute code to this project, please read our contribution guidelines first.
Getting started
Prerequisites
Go 1.24.12 or higher
Install Milvus Go SDK
-
Use
go getto install the latest version of the Milvus Go SDK and dependencies:go get -u github.com/milvus-io/milvus/client/v2 -
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.