{"id":13715867,"url":"https://github.com/milvus-io/milvus-sdk-go","last_synced_at":"2025-05-07T05:31:44.032Z","repository":{"id":37341563,"uuid":"230075785","full_name":"milvus-io/milvus-sdk-go","owner":"milvus-io","description":"Go SDK for Milvus.","archived":false,"fork":false,"pushed_at":"2024-05-15T10:21:55.000Z","size":2165,"stargazers_count":297,"open_issues_count":99,"forks_count":95,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-05-15T22:22:43.534Z","etag":null,"topics":["anns","go","hacktoberfest","sdk","vector"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milvus-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-25T09:11:06.000Z","updated_at":"2024-05-30T05:47:47.939Z","dependencies_parsed_at":"2023-02-18T14:45:39.226Z","dependency_job_id":"3a8f0349-81b1-4481-9dee-a12bdc25e05f","html_url":"https://github.com/milvus-io/milvus-sdk-go","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milvus-io%2Fmilvus-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milvus-io%2Fmilvus-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milvus-io%2Fmilvus-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milvus-io%2Fmilvus-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milvus-io","download_url":"https://codeload.github.com/milvus-io/milvus-sdk-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823001,"owners_count":21809700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anns","go","hacktoberfest","sdk","vector"],"created_at":"2024-08-03T00:01:04.504Z","updated_at":"2025-05-07T05:31:44.019Z","avatar_url":"https://github.com/milvus-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Milvus Go SDK\n\n## Note this repo is deprecated. Go to https://github.com/milvus-io/milvus/tree/master/client for the newest Go SDK\n\n[![license](https://img.shields.io/hexpm/l/plug.svg?color=green)](https://github.com/milvus-io/milvus-sdk-go/blob/master/LICENSE)\n[![Mergify Status][mergify-status]][mergify]\n[![Go Reference](https://pkg.go.dev/badge/github.com/milvus-io/milvus-sdk-go/v2.svg)](https://pkg.go.dev/github.com/milvus-io/milvus-sdk-go/v2)\n\n[mergify]: https://mergify.io\n[mergify-status]: https://img.shields.io/endpoint.svg?url=https://gh.mergify.io/badges/milvus-io/milvus-sdk-go\u0026style=plastic\n\n\nGo SDK for [Milvus](https://github.com/milvus-io/milvus). To contribute code to this project, please read our [contribution guidelines](https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md) first.\n\n\n## SDK versions\n\n|Milvus version| Recommended Go SDK version |\n|:-----:|:-----:|\n| 2.4.x | [2.4.0](https://github.com/milvus-io/milvus-sdk-go/tree/v2.4.0) |\n| 2.3.x | [2.3.1](https://github.com/milvus-io/milvus-sdk-go/tree/v2.3.1) |\n| 2.2.x | [2.2.8](https://github.com/milvus-io/milvus-sdk-go/tree/v2.2.8) |\n| 2.1.0 | [2.1.0](https://github.com/milvus-io/milvus-sdk-go/tree/v2.1.0) |\n| 2.0.0 | [2.0.0](https://github.com/milvus-io/milvus-sdk-go/tree/v2.0.0) |\n| 1.1.x | [1.1.0](https://github.com/milvus-io/milvus-sdk-go/tree/v1.1.0) |\n| 1.0.x | [1.0.0](https://github.com/milvus-io/milvus-sdk-go/tree/v1.0.0) |\n\nNote: Major versions is NOT compatible between Milvus and SDK\n\n## Getting started\n\n### Prerequisites\n\nGo 1.17 or higher\n\n### Install Milvus Go SDK\n\n1. Use `go get` to install the latest version of the Milvus Go SDK and dependencies:\n\n   ```shell\n   go get -u github.com/milvus-io/milvus-sdk-go/v2\n   ```\n\n2. Include the Milvus Go SDK in your application:\n\n   ```go\n   import \"github.com/milvus-io/milvus-sdk-go/v2/client\"\n\n   //...other snippet ...\n   client, err := client.NewClient(context.Background(), client.Config{\n      Address: \"localhost:19530\",\n   })\n   if err != nil {\n       // handle error\n   }\n   defer client.Close()\n\n   client.HasCollection(context.Background(), \"YOUR_COLLECTION_NAME\")\n   ```\n\n### API Documentation\n\nRefer to [https://milvus.io/api-reference/go/v2.2.x/About.md](https://milvus.io/api-reference/go/v2.2.x/About.md) for the Go SDK API documentation.\n\n### Examples\n   \nSee [examples](examples/README.md) about how to use this package to communicate with Milvus\n\n## Code format\n\nThe Go source code is formatted using gofmt and golint.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilvus-io%2Fmilvus-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilvus-io%2Fmilvus-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilvus-io%2Fmilvus-sdk-go/lists"}