{"id":13412298,"url":"https://github.com/aerospike/aerospike-client-go","last_synced_at":"2026-02-11T21:10:42.430Z","repository":{"id":19050958,"uuid":"22277130","full_name":"aerospike/aerospike-client-go","owner":"aerospike","description":"Aerospike Client Go ","archived":false,"fork":false,"pushed_at":"2026-02-05T07:48:39.000Z","size":5026,"stargazers_count":458,"open_issues_count":39,"forks_count":211,"subscribers_count":70,"default_branch":"v8","last_synced_at":"2026-02-05T19:43:08.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/aerospike.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security_test.go","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-07-26T02:56:21.000Z","updated_at":"2026-01-25T12:04:14.000Z","dependencies_parsed_at":"2023-02-18T04:31:17.790Z","dependency_job_id":"7d6fb6d3-b2c5-48ac-acb3-835f41249b42","html_url":"https://github.com/aerospike/aerospike-client-go","commit_stats":null,"previous_names":[],"tags_count":175,"template":false,"template_full_name":null,"purl":"pkg:github/aerospike/aerospike-client-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerospike","download_url":"https://codeload.github.com/aerospike/aerospike-client-go/tar.gz/refs/heads/v8","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-client-go/sbom","scorecard":{"id":169158,"data":{"date":"2025-08-11","repo":{"name":"github.com/aerospike/aerospike-client-go","commit":"174a824b25f0440cd94d24b64b875910d448dc09"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5,"checks":[{"name":"Maintained","score":3,"reason":"0 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/aerospike/aerospike-client-go/build.yml/v8?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/aerospike/aerospike-client-go/build.yml/v8?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/aerospike/aerospike-client-go/build.yml/v8?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/aerospike/aerospike-client-go/build.yml/v8?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(v7): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T15:54:20.605Z","repository_id":19050958,"created_at":"2025-08-16T15:54:20.605Z","updated_at":"2025-08-16T15:54:20.605Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29345433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-07-30T20:01:23.153Z","updated_at":"2026-02-11T21:10:42.380Z","avatar_url":"https://github.com/aerospike.png","language":"Go","funding_links":[],"categories":["Database Drivers","数据库驱动程序","\u003cspan id=\"数据库驱动-database-drivers\"\u003e数据库驱动 Database Drivers\u003c/span\u003e","数据库驱动`连接和操作数据库工具`","数据库驱动","NoSQL Databases","Data Integration Frameworks","Generators"],"sub_categories":["Advanced Console UIs","NoSQL Database Drivers","NoSQL数据库驱动程序","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","SQL 查询语句构建库"],"readme":"# Aerospike Go Client v8\n\n[![Aerospike Client Go](https://goreportcard.com/badge/github.com/aerospike/aerospike-client-go/v8)](https://goreportcard.com/report/github.com/aerospike/aerospike-client-go/v8)\n[![Godoc](https://godoc.org/github.com/aerospike/aerospike-client-go/v8?status.svg)](https://pkg.go.dev/github.com/aerospike/aerospike-client-go/v8)\n[![Tests](https://github.com/aerospike/aerospike-client-go/actions/workflows/build.yml/badge.svg?branch=v8\u0026event=push)](github.com/aerospike/aerospike-client-go/actions)\n\nAn Aerospike library for Go.\n\nThis library is compatible with Go 1.23+ and supports the following operating systems: Linux, Mac OS X (Windows builds are possible, but untested).\n\nUp-to-date documentation is available in the [![Godoc](https://godoc.org/github.com/aerospike/aerospike-client-go/v8?status.svg)](https://pkg.go.dev/github.com/aerospike/aerospike-client-go/v8).\n\nYou can refer to the test files for idiomatic use cases.\n\nPlease refer to [`CHANGELOG.md`](CHANGELOG.md) for release notes, or if you encounter breaking changes.\n\n- [Aerospike Go Client v8](#aerospike-go-client-v8)\n  - [Usage](#usage)\n  - [Prerequisites](#prerequisites)\n  - [Installation](#installation)\n    - [Some Tips](#some-tips)\n  - [Performance Tweaking](#performance-tweaking)\n  - [Tests](#tests)\n  - [Examples](#examples)\n    - [Tools](#tools)\n  - [Benchmarks](#benchmarks)\n  - [API Documentation](#api-documentation)\n  - [Google App Engine](#google-app-engine)\n  - [Reflection, and Object API](#reflection-and-object-api)\n  - [License](#license)\n\n## Usage\n\nThe following is a very simple example of CRUD operations in an Aerospike database.\n\n```go\npackage main\n\nimport (\n  \"fmt\"\n\n  aero \"github.com/aerospike/aerospike-client-go/v8\"\n)\n\n// This is only for this example.\n// Please handle errors properly.\nfunc panicOnError(err error) {\n  if err != nil {\n    panic(err)\n  }\n}\n\nfunc main() {\n  // define a client to connect to\n  client, err := aero.NewClient(\"127.0.0.1\", 3000)\n  panicOnError(err)\n\n  key, err := aero.NewKey(\"test\", \"aerospike\", \"key\")\n  panicOnError(err)\n\n  // define some bins with data\n  bins := aero.BinMap{\n    \"bin1\": 42,\n    \"bin2\": \"An elephant is a mouse with an operating system\",\n    \"bin3\": []any{\"Go\", 2009},\n  }\n\n  // write the bins\n  err = client.Put(nil, key, bins)\n  panicOnError(err)\n\n  // read it back!\n  rec, err := client.Get(nil, key)\n  panicOnError(err)\n\n  // delete the key, and check if key exists\n  existed, err := client.Delete(nil, key)\n  panicOnError(err)\n  fmt.Printf(\"Record existed before delete? %v\\n\", existed)\n}\n```\n\nMore examples illustrating the use of the API are located in the\n[`examples`](examples) directory.\n\nDetails about the API are available in the [`docs`](docs) directory.\n\n\u003ca name=\"Prerequisites\"\u003e\u003c/a\u003e\n## Prerequisites\n\n[Go](http://golang.org) version v1.23+ is required.\n\nTo install the latest stable version of Go, visit\n[http://golang.org/dl/](http://golang.org/dl/)\n\nAerospike Go client implements the wire protocol, and does not depend on the C client.\nIt is goroutine friendly, and works asynchronously.\n\nSupported operating systems:\n\n- Major Linux distributions (Ubuntu, Debian, Red Hat)\n- Mac OS X\n- Windows (untested)\n\n\u003ca name=\"Installation\"\u003e\u003c/a\u003e\n## Installation\n\n1. Install Go 1.21+ and setup your environment as [Documented](http://golang.org/doc/code.html#GOPATH) here.\n2. Get the client in your ```GOPATH``` : ```go get github.com/aerospike/aerospike-client-go/v8```\n  - To update the client library: ```go get -u github.com/aerospike/aerospike-client-go/v8```\n\n### Some Tips\n\n- To run a go program directly: ```go run \u003cfilename.go\u003e```\n- to build:  ```go build -o \u003coutput\u003e \u003cfilename.go\u003e```\n- example: ```go build -tags as_performance -o benchmark tools/benchmark/benchmark.go```\n\n\u003ca name=\"Performance\"\u003e\u003c/a\u003e\n## Performance Tweaking\n\nWe are bending all efforts to improve the client's performance. In our reference benchmarks, Go client performs almost as good as the C client.\n\nTo read about performance variables, please refer to [`docs/performance.md`](docs/performance.md)\n\n\u003ca name=\"Tests\"\u003e\u003c/a\u003e\n## Tests\n\nThis library is packaged with a number of tests. Tests require Ginkgo and Gomega library.\n\nBefore running the tests, you need to update the dependencies:\n\n    $ go get .\n\nTo run all the test cases with race detection:\n\n    $ ginkgo -r -race\n\n\n\u003ca name=\"examples\"\u003e\u003c/a\u003e\n## Examples\n\nA variety of example applications are provided in the [`examples`](examples) directory.\n\n\u003ca name=\"tools\"\u003e\u003c/a\u003e\n### Tools\n\nA variety of clones of original tools are provided in the [`tools`](tools) directory.\nThey show how to use more advanced features of the library to re-implement the same functionality in a more concise way.\n\n\u003ca name=\"benchmarks\"\u003e\u003c/a\u003e\n## Benchmarks\n\nBenchmark utility is provided in the [`tools/benchmark`](tools/benchmark) directory.\nSee the [`tools/benchmark/README.md`](tools/benchmark/README.md) for details.\n\n\u003ca name=\"api-documentation\"\u003e\u003c/a\u003e\n## API Documentation\n\nA simple API documentation is available in the [`docs`](docs/README.md) directory. The latest up-to-date docs can be found in [![Godoc](https://godoc.org/github.com/aerospike/aerospike-client-go?status.svg)](https://pkg.go.dev/github.com/aerospike/aerospike-client-go/v8).\n\n\u003ca name=\"google-app-engine\"\u003e\u003c/a\u003e\n## Google App Engine\n\nTo build the library for App Engine, build it with the build tag `app_engine`. Aggregation functionality is not available in this build.\n\n\n\u003ca name=\"reflection-and-object-api\"\u003e\u003c/a\u003e\n## Reflection, and Object API\n\nTo make the library both flexible and fast, we had to integrate the reflection API (methods with `[Get/Put/...]Object` names) tightly in the library. In case you wanted to avoid mixing those API in your app inadvertently, you can use the build tag `as_performance` to remove those APIs from the build.\n\n\n\u003ca name=\"license\"\u003e\u003c/a\u003e\n## License\n\nThe Aerospike Go Client is made available under the terms of the Apache License, Version 2, as stated in the file `LICENSE`.\n\nIndividual files may be made available under their own specific license,\nall compatible with Apache License, Version 2. Please see individual files for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-client-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerospike%2Faerospike-client-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-client-go/lists"}