{"id":21762128,"url":"https://github.com/daniilty/microservice-template-go","last_synced_at":"2026-05-10T10:19:14.815Z","repository":{"id":57655049,"uuid":"455245578","full_name":"daniilty/microservice-template-go","owner":"daniilty","description":"Basic microservice template to save you some time","archived":false,"fork":false,"pushed_at":"2022-02-03T17:18:02.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T01:20:26.188Z","etag":null,"topics":["go","golang","microservices","templates"],"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/daniilty.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}},"created_at":"2022-02-03T16:40:42.000Z","updated_at":"2022-02-03T16:43:37.000Z","dependencies_parsed_at":"2022-08-25T08:10:57.444Z","dependency_job_id":null,"html_url":"https://github.com/daniilty/microservice-template-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fmicroservice-template-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fmicroservice-template-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fmicroservice-template-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniilty%2Fmicroservice-template-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniilty","download_url":"https://codeload.github.com/daniilty/microservice-template-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739944,"owners_count":20501990,"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":["go","golang","microservices","templates"],"created_at":"2024-11-26T12:11:10.077Z","updated_at":"2026-05-10T10:19:09.770Z","avatar_url":"https://github.com/daniilty.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservice template for a Golang application.\n## Features\n  * Prometheus metrics\n  * HTTP Healthcheck endpoint\n  * Soon: jaeger tracing\n  * Soon: GRPC healthcheck\n\n## Configuration\n### Add new db pinger:\n./internal/mongo.go:\n```go\nfunc (m *mongoPinger) Ping(ctx context.Context) {\n  ctx, _ = context.WithTimeout(ctx, pingTimeout)\n  \n  return client.Ping(ctx, readpref.Primary())\n}\n```\n./internal/healthcheck/options.go:\n```go\nfunc WithMongoPinger(pinger db.Pinger) func(*checker) {\n\treturn func(c *checker) {\n\t\tc.mongoPinger = pinger\n\t}\n}\n```\n\n## ENV vars:\n  * `HTTP_DEVOPS_ADDR` - addr for metics/healthcheck methods\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilty%2Fmicroservice-template-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniilty%2Fmicroservice-template-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniilty%2Fmicroservice-template-go/lists"}