{"id":13412321,"url":"https://github.com/FeatureBaseDB/go-pilosa","last_synced_at":"2025-03-14T18:31:11.623Z","repository":{"id":57481882,"uuid":"69703885","full_name":"FeatureBaseDB/go-pilosa","owner":"FeatureBaseDB","description":"Go client library for Pilosa","archived":true,"fork":false,"pushed_at":"2022-09-27T21:00:01.000Z","size":1249,"stargazers_count":58,"open_issues_count":13,"forks_count":23,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-04-13T18:48:49.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.pilosa.com/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FeatureBaseDB.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}},"created_at":"2016-09-30T21:37:10.000Z","updated_at":"2023-04-24T14:20:57.000Z","dependencies_parsed_at":"2022-09-02T06:03:49.917Z","dependency_job_id":null,"html_url":"https://github.com/FeatureBaseDB/go-pilosa","commit_stats":null,"previous_names":["pilosa/go-pilosa"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatureBaseDB%2Fgo-pilosa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatureBaseDB%2Fgo-pilosa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatureBaseDB%2Fgo-pilosa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FeatureBaseDB%2Fgo-pilosa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FeatureBaseDB","download_url":"https://codeload.github.com/FeatureBaseDB/go-pilosa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243625088,"owners_count":20321228,"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":[],"created_at":"2024-07-30T20:01:23.412Z","updated_at":"2025-03-14T18:31:11.260Z","avatar_url":"https://github.com/FeatureBaseDB.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Client for Pilosa\n\nThis repo archived Sept 2022 as part of the transition from Pilosa to FeatureBase.\nPlease contact community[at]featurebase[dot]com with any questions.\n\n\u003ca href=\"https://github.com/pilosa\"\u003e\u003cimg src=\"https://img.shields.io/badge/pilosa-1.3-blue.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://godoc.org/github.com/pilosa/go-pilosa\"\u003e\u003cimg src=\"https://godoc.org/github.com/pilosa/go-pilosa?status.svg\" alt=\"GoDoc\"\u003e\u003c/a\u003e\n\u003ca href=\"https://travis-ci.org/pilosa/go-pilosa\"\u003e\u003cimg src=\"https://api.travis-ci.org/pilosa/go-pilosa.svg?branch=master\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/report/github.com/pilosa/go-pilosa\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/pilosa/go-pilosa?updated=1\"\u003e\u003c/a\u003e\n\u003ca href=\"https://coveralls.io/github/pilosa/go-pilosa\"\u003e\u003cimg src=\"https://coveralls.io/repos/github/pilosa/go-pilosa/badge.svg?updated=2\"\u003e\u003c/a\u003e\n\n\u003cimg src=\"https://www.pilosa.com/img/speed_sloth.svg\" style=\"float: right\" align=\"right\" height=\"301\"\u003e\n\nGo client for Pilosa high performance distributed index.\n\n## What's New?\n\nSee: [CHANGELOG](CHANGELOG.md)\n\n## Requirements\n\n* Go 1.12 and higher.\n\n## Install\n\nDownload the library in your `GOPATH` using:\n```\ngo get github.com/pilosa/go-pilosa\n```\n\nAfter that, you can import the library in your code using:\n\n```go\nimport \"github.com/pilosa/go-pilosa\"\n```\n\n## Usage\n\n### Quick overview\n\nAssuming [Pilosa](https://github.com/pilosa/pilosa) server is running at `localhost:10101` (the default):\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/pilosa/go-pilosa\"\n)\n\nfunc main() {\n\tvar err error\n\n\t// Create the default client\n\tclient := pilosa.DefaultClient()\n\n\t// Retrieve the schema\n\tschema, err := client.Schema()\n\n\t// Create an Index object\n\tmyindex := schema.Index(\"myindex\")\n\n\t// Create a Field object\n\tmyfield := myindex.Field(\"myfield\")\n\n\t// make sure the index and the field exists on the server\n\terr = client.SyncSchema(schema)\n\n\t// Send a Set query. If err is non-nil, response will be nil.\n\tresponse, err := client.Query(myfield.Set(5, 42))\n\n\t// Send a Row query. If err is non-nil, response will be nil.\n\tresponse, err = client.Query(myfield.Row(5))\n\n\t// Get the result\n\tresult := response.Result()\n\t// Act on the result\n\tif result != nil {\n\t\tcolumns := result.Row().Columns\n\t\tfmt.Println(\"Got columns: \", columns)\n\t}\n\n\t// You can batch queries to improve throughput\n\tresponse, err = client.Query(myindex.BatchQuery(\n\t\tmyfield.Row(5),\n\t\tmyfield.Row(10)))\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\tfor _, result := range response.Results() {\n\t\t// Act on the result\n\t\tfmt.Println(result.Row().Columns)\n\t}\n}\n```\n\n## Documentation\n\n### Data Model and Queries\n\nSee: [Data Model and Queries](docs/data-model-queries.md)\n\n### Executing Queries\n\nSee: [Server Interaction](docs/server-interaction.md)\n\n### Importing and Exporting Data\n\nSee: [Importing and Exporting Data](docs/imports-exports.md)\n\n### Other Documentation\n\n* [Tracing](docs/tracing.md)\n\n## Contributing\n\nSee: [CONTRIBUTING](CONTRIBUTING.md)\n\n## License\n\nSee: [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeatureBaseDB%2Fgo-pilosa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFeatureBaseDB%2Fgo-pilosa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFeatureBaseDB%2Fgo-pilosa/lists"}