{"repo":"solworktech/grt","free":true,"listed":false,"github":"https://github.com/solworktech/grt","clone":"git clone https://github.com/solworktech/grt.git","description":"This repo aims to save some bootstrapping time when creating a new GO repo. By using it as a template when creating new projects, you will gain: pre-commit hooks, GH actions CI configuration for testing and releasing, a template for CLI GO applications (usage, option processing, etc) and a README template with links and badges.","language":"Go","stars":10,"topics":["cli","golang","goreleaser","pre-commit-hooks","template","actions","ci-cd"],"license":"MIT","category":"cli-tools","readme_excerpt":"GRT (GO Repo Template) [![CI][badge-build]][build] [![GoDoc][go-docs-badge]][go-docs] [![GoReportCard][go-report-card-badge]][go-report-card] [![License][badge-license]][license] Motivation This repo aims to save some bootstrapping time when creating a new GO repo. By using it as a template when creating new projects, you will gain: - A set of pre-commit hooks to test that: Your GO code is correctly formatted (using gofmt ) Your package imports adhere to GO standards There are no linting issues There are no inefficient assignments - GH actions CI configuration for: Testing code pushes and pull requests (using the same tools as above) Releasing assets with GoReleaser - A template for CLI GO applications (usage, option processing, etc) - A README template with links and badges for: CI License GO docs GO report card Configuration files - .pre-commit-config.yaml: a set of pre-commit hooks relevant to GO code - .goreleaser.yaml: GoReleaser configuration file - .github/workflows/go.yml: GH action for post push and pull request testing - .github/workflows/release.yml: GH action to trigger upon tag creation Bootstrapping steps - Fork this repo - Under https://github.com/YOUR ORG/grt/settings , make sure Template repository is checked - When creating a new GO repo, select grt as the Repository template - Clone the new repo - Set the desired LICENSE (default is MIT) pre-commit hooks Install the needed GO packages: Install the pre-commit util: Generate .git/hooks/pre-commit : Following ","default_branch":null,"files":null,"tree":[],"storefront":"/r/solworktech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solworktech/grt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}