Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sha1n/go-template

Template repository for Go CLI app projects. Follows common guidelines and provides a comprehensive set of workflows for build, test and release common workflows
https://github.com/sha1n/go-template

cli github-config go golang makefile-template protobuf template template-project template-repository workflow

Last synced: 2 days ago
JSON representation

Template repository for Go CLI app projects. Follows common guidelines and provides a comprehensive set of workflows for build, test and release common workflows

Awesome Lists containing this project

README

        

[![Go](https://github.com/sha1n/go-template/actions/workflows/go.yml/badge.svg)](https://github.com/sha1n/go-template/actions/workflows/go.yml)
![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/sha1n/go-template)
[![Go Report Card](https://goreportcard.com/badge/sha1n/go-template)](https://goreportcard.com/report/sha1n/go-template)
[![Release](https://img.shields.io/github/release/sha1n/go-template.svg?style=flat-square)](https://github.com/sha1n/go-template/releases)
![GitHub all releases](https://img.shields.io/github/downloads/sha1n/go-template/total)
[![Release Drafter](https://github.com/sha1n/go-template/actions/workflows/release-drafter.yml/badge.svg)](https://github.com/sha1n/go-template/actions/workflows/release-drafter.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

# go-template

## Before anything else
```bash
git clone [email protected]:/.git
cd
./init.sh
```

## Features

- Init script for initial repo setup
- Makefile
- standard build/test/format/lint
- protobuf support with repo private `protoc` installtion (see `PROTOC_VERSION` in [Makefile](Makefile))
- multi-platform binaries
- goreleaser with `brew` support
- Workflows
- Go build + coverage - [go.yml](/.github/workflows/go.yml)
- Go report card - [go-report-card.yml](/.github/workflows/go-report-card.yml)
- Release Drafter - [release-drafter.yml](/.github/workflows/release-drafter.yml)
- Dependabot App - [dependabot.yml](/.github/dependabot.yml)
- Jekyll site setup with the [Cayman](https://github.com/pages-themes/cayman) theme (and some color overrides)
- .travis.yml for Go