{"id":21423213,"url":"https://github.com/khachikastoyan/go-api-template","last_synced_at":"2026-04-22T16:35:01.487Z","repository":{"id":263968657,"uuid":"891868745","full_name":"KhachikAstoyan/go-api-template","owner":"KhachikAstoyan","description":"A small template for creating go http services","archived":false,"fork":false,"pushed_at":"2024-11-22T09:17:18.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T07:11:24.117Z","etag":null,"topics":["api","golang","postgresql","rest-api"],"latest_commit_sha":null,"homepage":"","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/KhachikAstoyan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-21T05:11:39.000Z","updated_at":"2024-11-22T09:17:21.000Z","dependencies_parsed_at":"2024-11-21T09:41:31.744Z","dependency_job_id":null,"html_url":"https://github.com/KhachikAstoyan/go-api-template","commit_stats":null,"previous_names":["khachikastoyan/go-api-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhachikAstoyan%2Fgo-api-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhachikAstoyan%2Fgo-api-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhachikAstoyan%2Fgo-api-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KhachikAstoyan%2Fgo-api-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KhachikAstoyan","download_url":"https://codeload.github.com/KhachikAstoyan/go-api-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243926673,"owners_count":20370021,"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":["api","golang","postgresql","rest-api"],"created_at":"2024-11-22T21:15:06.904Z","updated_at":"2026-04-22T16:34:56.450Z","avatar_url":"https://github.com/KhachikAstoyan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"### A simple template for myself for scaffolding go services\n\nI created this simple template thing so that it's easier to create new Go HTTP services from scratch, because often times I end up repeating myself.\n\n#### What does this template use?\n\n- Go (obviously)\n- Chi (for routing)\n- sqlc (compiling queries to go code)\n- PostgreSQL\n- Some other minor libs for convenience\n\n#### Directory Structure\n\n- `core` contains the core things, like configuration and global App struct\n- `db` contains DDL statements, queries, and the generated repository\n- `dtos` are self explanatory\n- `http` contains http handlers (controllers)\n- `services` have different services as singletons, that talk to the database through the generated repository\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhachikastoyan%2Fgo-api-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhachikastoyan%2Fgo-api-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhachikastoyan%2Fgo-api-template/lists"}