{"id":19114461,"url":"https://github.com/pinebit/go-boilerplate","last_synced_at":"2025-08-24T09:40:17.111Z","repository":{"id":168580022,"uuid":"643972702","full_name":"pinebit/go-boilerplate","owner":"pinebit","description":"Golang server boilerplate","archived":false,"fork":false,"pushed_at":"2023-05-23T09:31:12.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T06:29:03.492Z","etag":null,"topics":["boilerplate","boilerplate-template","golang","server"],"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/pinebit.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":"2023-05-22T14:35:38.000Z","updated_at":"2023-05-23T09:41:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"7eb160f1-2e91-48ee-bcd4-93ffb36cf1e0","html_url":"https://github.com/pinebit/go-boilerplate","commit_stats":null,"previous_names":["pinebit/go-boilerplate"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fgo-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fgo-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fgo-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fgo-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinebit","download_url":"https://codeload.github.com/pinebit/go-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170108,"owners_count":19759145,"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":["boilerplate","boilerplate-template","golang","server"],"created_at":"2024-11-09T04:42:19.186Z","updated_at":"2025-02-22T12:12:20.853Z","avatar_url":"https://github.com/pinebit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-boilerplate\n\n[![Go](https://github.com/pinebit/go-boilerplate/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/pinebit/go-boilerplate/actions/workflows/go.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Docker Image](https://github.com/pinebit/go-boilerplate/actions/workflows/docker-image.yml/badge.svg?branch=main)](https://github.com/pinebit/go-boilerplate/actions/workflows/docker-image.yml)\n\nGolang server boilerplate.\n\n## Motivation\n\nTo create a battle-tested server template that implements the most common best practices.\n\n## Features\n\n* Dockerfile\n* TOML configuration with [go-toml](https://github.com/pelletier/go-toml)\n* Structured logging with [zap](https://github.com/uber-go/zap)\n* Graceful boot/shutdown with [go-boot](https://github.com/pinebit/go-boot)\n* [Prometheus](https://github.com/prometheus/client_golang) metrics\n* Simple HTTP server with [gin framework](https://github.com/gin-gonic/gin)\n* Dependency injection with [dig](https://github.com/uber-go/dig)\n\n## Usage\n\n1. Find and replace all \"boilerplate\" words for your product.\n2. Building: `docker build .` or `make build`\n3. Testing: `make test` and `make lint`\n4. Running: `make run` or simply `go run .`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fgo-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinebit%2Fgo-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fgo-boilerplate/lists"}