{"id":24772542,"url":"https://github.com/otoshimtoshi/go-docker-template","last_synced_at":"2026-04-11T11:03:34.166Z","repository":{"id":274324153,"uuid":"922545760","full_name":"otoshimtoshi/go-docker-template","owner":"otoshimtoshi","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-09T15:36:30.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T06:25:46.424Z","etag":null,"topics":["air-verse","docker","docker-compose","gin-gonic","go","go-delve","godotenv","golang","gorm","live-reload"],"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/otoshimtoshi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-26T14:02:55.000Z","updated_at":"2025-06-19T23:50:41.000Z","dependencies_parsed_at":"2025-01-26T16:22:56.931Z","dependency_job_id":"a859c57b-7f57-4c8a-ae0b-cb9881954891","html_url":"https://github.com/otoshimtoshi/go-docker-template","commit_stats":null,"previous_names":["otoshimtoshi/go-docker-template"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/otoshimtoshi/go-docker-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoshimtoshi%2Fgo-docker-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoshimtoshi%2Fgo-docker-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoshimtoshi%2Fgo-docker-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoshimtoshi%2Fgo-docker-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otoshimtoshi","download_url":"https://codeload.github.com/otoshimtoshi/go-docker-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otoshimtoshi%2Fgo-docker-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"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":["air-verse","docker","docker-compose","gin-gonic","go","go-delve","godotenv","golang","gorm","live-reload"],"created_at":"2025-01-29T04:23:17.166Z","updated_at":"2026-04-11T11:03:34.138Z","avatar_url":"https://github.com/otoshimtoshi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-docker-template\n\n## Library\n\n- Web フレームワーク：[gin-gonic](https://github.com/gin-gonic/gin)\n- ORM：[go-gorm](https://github.com/go-gorm/gorm)\n- ホットリロード：[air-verse/air](https://github.com/air-verse/air)\n- デバッグ：[go-delve/delve](https://github.com/go-delve/delve)\n\n## Docker\n\n```sh\n# バックグラウンド実行の場合\n% docker compose up -d\n# ログ出力あり実行の場合\n% docker compose up\n```\n\n## Go Modules\n\n```sh\n% go mod tidy\n```\n\n## Database Migration\n\n```sh\n% docker exec -it go-api sh\n% migrate -database 'mysql://root:password@tcp(go-db:3306)/sample' -path migrations up\n% migrate -database 'mysql://root:password@tcp(go-db:3306)/sample' -path migrations down\n% go run seeds/seeder.go\n```\n\n## Linting\n\n```sh\n% golangci-lint run\n% golangci-lint run --fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotoshimtoshi%2Fgo-docker-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotoshimtoshi%2Fgo-docker-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotoshimtoshi%2Fgo-docker-template/lists"}