{"id":22131126,"url":"https://github.com/slamdev/golang-grpc-service","last_synced_at":"2025-10-31T03:36:15.938Z","repository":{"id":47601024,"uuid":"309131739","full_name":"slamdev/golang-grpc-service","owner":"slamdev","description":"Template for creating GRPC service","archived":false,"fork":false,"pushed_at":"2023-12-15T08:40:14.000Z","size":30,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T14:45:17.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slamdev.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}},"created_at":"2020-11-01T15:56:46.000Z","updated_at":"2020-11-02T13:16:55.000Z","dependencies_parsed_at":"2024-12-01T18:41:50.954Z","dependency_job_id":null,"html_url":"https://github.com/slamdev/golang-grpc-service","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/slamdev%2Fgolang-grpc-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slamdev%2Fgolang-grpc-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slamdev%2Fgolang-grpc-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slamdev%2Fgolang-grpc-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slamdev","download_url":"https://codeload.github.com/slamdev/golang-grpc-service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240828,"owners_count":20583102,"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":[],"created_at":"2024-12-01T18:30:09.370Z","updated_at":"2025-10-31T03:36:15.858Z","avatar_url":"https://github.com/slamdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# golang-http-service\nTemplate for creating GRPC service\n\n## Components\n\n### Configuration\n\nApplication configuration is defined [application.yaml](configs/application.yaml) file. There is **profiles** system that\nallows to use and merge multiple configuration files together. It is controlled with **ACTIVE_PROFILES** environment\nvariable. E.g.: `ACTIVE_PROFILES=cloud,dev` will merge these files together:\n1. application.yaml\n2. application-cloud.yaml\n3. application-dev.yaml\n\n[Uber config](https://github.com/uber-go/config) library is used to parse and merge config files. It also supports \nenvironment variables.\n\nConfiguration files are embedded into the resulting binary with [pkger](https://github.com/markbates/pkger) tool.\n\n### Monitoring\n\n[Zap](https://github.com/uber-go/zap) is used to control logs. Logs are outputted in plain text format when the\napplication is running locally and in json format when the **cloud** profile is used.\n\nApplication exposes [Prometheus](https://prometheus.io/) metrics at **/metrics** endpoint.\n\nApplication exposes health endpoint at **/health**.\n\n### Testing\n\nFor reach assertions the [testify](https://github.com/stretchr/testify) library is used.\n\n### Linting\n\n[Spectral](https://github.com/stoplightio/spectral) is used to lint OpenAPI files and \n[golangci-lint](https://github.com/golangci/golangci-lint) for Go files.\n\n### Building\n\nAll the build process is describe it the (Makefile)[Makefile]. Run `make build` to test and build the binary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslamdev%2Fgolang-grpc-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslamdev%2Fgolang-grpc-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslamdev%2Fgolang-grpc-service/lists"}