{"id":17179729,"url":"https://github.com/maxmcd/baodata","last_synced_at":"2025-03-24T23:38:39.819Z","repository":{"id":68354067,"uuid":"43654964","full_name":"maxmcd/baodata","owner":"maxmcd","description":null,"archived":false,"fork":false,"pushed_at":"2015-10-08T23:13:46.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T20:11:59.414Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxmcd.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-04T22:18:29.000Z","updated_at":"2015-11-12T09:58:44.000Z","dependencies_parsed_at":"2023-03-06T07:16:00.063Z","dependency_job_id":null,"html_url":"https://github.com/maxmcd/baodata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Fbaodata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Fbaodata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Fbaodata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxmcd%2Fbaodata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxmcd","download_url":"https://codeload.github.com/maxmcd/baodata/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372217,"owners_count":20604488,"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-10-15T00:27:22.186Z","updated_at":"2025-03-24T23:38:39.797Z","avatar_url":"https://github.com/maxmcd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Baodata\n\nA slow and simple datastore for gitbao.\n\nThe api uses REST-style endpoints to store data.\n\nGet:\n```Go\nresp, err := baodata.Get(\"/users/1\")\n// resp =\u003e []{\"id\":\"1\", \"email\":\"git@gitbao.com\"}\n\nresp, err := baodata.Get(\"/users\")\n// resp =\u003e []{\"id\":\"1\", \"email\":\"git@gitbao.com\"}\n```\n\nPut:\n```Go\nresp, err := baodata.Put(\"/users\", baodata.Data{\"email\", \"git@gitbao.com\"})\n// resp =\u003e []{\"id\":\"2\", \"email\":\"git@gitbao.com\"}\n\nresp, err := baodata.Put(\"/users/2\", baodata.Data{\"email\", \"bao@gitbao.com\"})\n// resp =\u003e []{\"id\":\"2\", \"email\":\"bao@gitbao.com\"}\n```\n\nDelete:\n```Go\nerr := baodata.Delete(\"/users/1\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmcd%2Fbaodata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmcd%2Fbaodata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmcd%2Fbaodata/lists"}