{"id":44580139,"url":"https://github.com/yeexel/go-firepon","last_synced_at":"2026-02-14T05:45:03.263Z","repository":{"id":57578944,"uuid":"360570941","full_name":"yeexel/go-firepon","owner":"yeexel","description":"Coupons API client with Firestore integration written in Go.","archived":false,"fork":false,"pushed_at":"2021-04-22T15:42:48.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T17:43:35.928Z","etag":null,"topics":["client","coupons","firestore","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeexel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-22T15:41:23.000Z","updated_at":"2021-04-23T08:23:17.000Z","dependencies_parsed_at":"2022-09-26T19:11:30.101Z","dependency_job_id":null,"html_url":"https://github.com/yeexel/go-firepon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yeexel/go-firepon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeexel%2Fgo-firepon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeexel%2Fgo-firepon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeexel%2Fgo-firepon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeexel%2Fgo-firepon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeexel","download_url":"https://codeload.github.com/yeexel/go-firepon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeexel%2Fgo-firepon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"last_error":"SSL_read: 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":["client","coupons","firestore","golang"],"created_at":"2026-02-14T05:45:02.626Z","updated_at":"2026-02-14T05:45:03.258Z","avatar_url":"https://github.com/yeexel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Coupons\n\n[![CircleCI](https://circleci.com/gh/yeexel/go-firepon.svg?style=shield)](https://circleci.com/gh/yeexel/go-firepon)\n\nCoupons API client with Firestore integration written in Go.\n\n### Installation\n\nRun command:\n\n`go get github.com/yeexel/go-firepon@v0.1.0`\n\n### Example\n\n```\nctx := context.Background()\nclient, err := NewClient(ctx, \u0026ClientOpts{\n    ProjectID: \"project-id\",\n})\nif err != nil {\n    // TODO: Handle error\n}\ndefer client.Close() // Close client when done\n\n// Persist coupon in Firestore collection\njson, err := client.GetOne(ctx, \"coupon-id\")\n\n_ = json // {\"created_at\":\"2021-04-21T13:44:04.447064Z\",\"description\":\"str2\",\"id\":\"2uIvxCZpEA\",\"max_allowed\":200,\"purchases\":[],\"title\":\"str\"}\n```\n\n### Documentation\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/yeexel/go-firepon.svg)](https://pkg.go.dev/github.com/yeexel/go-firepon)\n\n### Development instructions\n\nRun commands:\n\n`docker-compose up -d`\n\n`make test`\n\n### Production setup\n\nSet `GOOGLE_APPLICATION_CREDENTIALS` environment variable which points to your `firebase.json` file, etc.\n\nMore info on Firebase Docs page:\n[https://firebase.google.com/docs/admin/setup/#initialize-sdk](https://firebase.google.com/docs/admin/setup/#initialize-sdk)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeexel%2Fgo-firepon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeexel%2Fgo-firepon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeexel%2Fgo-firepon/lists"}