{"id":51459706,"url":"https://github.com/matt-riley/go-api-template","last_synced_at":"2026-07-06T04:30:31.176Z","repository":{"id":359629879,"uuid":"1167934107","full_name":"matt-riley/go-api-template","owner":"matt-riley","description":"Minimal Go API template with Chi, Docker, CI, and GHCR publishing.","archived":false,"fork":false,"pushed_at":"2026-06-26T14:04:04.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-26T15:21:29.356Z","etag":null,"topics":["chi","docker","go","rest-api","template"],"latest_commit_sha":null,"homepage":null,"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/matt-riley.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":null,"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":"2026-02-26T20:58:20.000Z","updated_at":"2026-06-26T14:01:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/matt-riley/go-api-template","commit_stats":null,"previous_names":["matt-riley/go-api-template"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/matt-riley/go-api-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-riley%2Fgo-api-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-riley%2Fgo-api-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-riley%2Fgo-api-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-riley%2Fgo-api-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt-riley","download_url":"https://codeload.github.com/matt-riley/go-api-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-riley%2Fgo-api-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35178402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["chi","docker","go","rest-api","template"],"created_at":"2026-07-06T04:30:28.122Z","updated_at":"2026-07-06T04:30:31.163Z","avatar_url":"https://github.com/matt-riley.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-api-template\n\nA minimal Go API template using [Chi](https://github.com/go-chi/chi).\n\n## Features\n\n- Chi router with structured logging and panic recovery\n- Health check at `/health`\n- Graceful shutdown\n- Multi-stage Docker build (distroless)\n- CI via shared workflows: test, lint (golangci-lint), security (govulncheck)\n- Docker image published to GHCR on tags\n\n## Getting started\n\n```bash\n# Run locally\nmake dev\n\n# Run tests\nmake test\n\n# Build\nmake build\n\n# Build Docker image\ndocker build -t go-api-template .\n```\n\n## Endpoints\n\n| Method | Path       | Description          |\n| ------ | ---------- | -------------------- |\n| GET    | `/health`  | Health check         |\n| GET    | `/api/v1/` | Hello World endpoint |\n\n## Configuration\n\n| Variable | Default | Description |\n| -------- | ------- | ----------- |\n| `PORT`   | `8080`  | Server port |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-riley%2Fgo-api-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt-riley%2Fgo-api-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-riley%2Fgo-api-template/lists"}