{"id":27247308,"url":"https://github.com/matrix278/go-api-template","last_synced_at":"2025-10-20T01:49:56.998Z","repository":{"id":274181427,"uuid":"922150191","full_name":"Matrix278/go-api-template","owner":"Matrix278","description":"Template to create API repositories faster on Golang with necessary structure","archived":false,"fork":false,"pushed_at":"2025-04-06T18:32:28.000Z","size":175,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:49:22.587Z","etag":null,"topics":["api","golang","template"],"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/Matrix278.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":"2025-01-25T13:03:42.000Z","updated_at":"2025-04-06T18:32:31.000Z","dependencies_parsed_at":"2025-02-09T17:29:41.253Z","dependency_job_id":"61c2dc89-1218-4e98-918c-bd642468f710","html_url":"https://github.com/Matrix278/go-api-template","commit_stats":null,"previous_names":["matrix278/go-api-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fgo-api-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fgo-api-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fgo-api-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Matrix278%2Fgo-api-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Matrix278","download_url":"https://codeload.github.com/Matrix278/go-api-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312179,"owners_count":21082637,"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","template"],"created_at":"2025-04-10T22:49:25.038Z","updated_at":"2025-10-20T01:49:56.910Z","avatar_url":"https://github.com/Matrix278.png","language":"Go","readme":"# Go API template\n\nThis is a template for a Go API project. It includes the following features:\n\n- Clean Architecture\n- Swagger Documentation\n- Dockerized\n- Makefile for easy setup\n- API Security\n- API Logging\n- API Testing\n\n## Requirements\n\n- [Git](https://git-scm.com/downloads) - Git CLI\n- [Code Editor](https://code.visualstudio.com) - Basic code editor\n- [Golang](https://go.dev) - Golang\n- [Docker](https://docs.docker.com/get-docker/) - For containerization and local environment (if you're not using Makefile)\n- [GoSec](https://github.com/securego/gosec) \u0026 [Golang-Lint](https://github.com/golangci/golangci-lint) - Go Validators\n- [GoFumpt](https://github.com/mvdan/gofumpt) - Stricter GoFMT\n- [Redoc-CLI](https://redocly.com/docs/redoc/deployment/cli) - For generating API Documentation (npm install -g @redocly/cli)\n\n## Getting started\n\n### Native\n\nDownload all necessary modules and run the application\n\n```\ngo mod download\nmake run\n```\n\n### Docker\n\n#### First application start\n\n```\nmake docker\n```\n\n#### After the first start\n\nAfter first setup you can use docker-compose to start and stop / restart the application\n\n```\ndocker-compose up\ndocker-compose down\n```\n\n## Swagger\n\nSwagger documentation is available at [http://localhost:8080/docs](http://localhost:8080/docs)\n\nTo generate the Swagger documentation, you can run the following command:\n\n```\nmake swagger\n```\n\n## Contributing\n\nYou can find the detailed contributing guidelines by navigating to the [`CONTRIBUTE.md`](/CONTRIBUTE.md/) file in the repository.\n\n## Docs\n\n- [Swagger](http://localhost:8080/docs) - Swagger Documentation, available after running the application\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fgo-api-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix278%2Fgo-api-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix278%2Fgo-api-template/lists"}