Skip to content

sha1n/go-template

Repository files navigation

Go GitHub go.mod Go version Go Report Card Release GitHub all releases Release Drafter License: MIT

go-template

Before anything else

Create your repository with GitHub's "Use this template" button — do not git clone this template directly. "Use this template" starts your new repo with a clean, single-commit history; cloning would drag along this template's entire commit history.

Then clone your new repository and initialize it:

git clone git@github.com:<owner>/<repo>.git
cd <repo>

# With Claude Code (recommended): guided, tailored, self-cleaning
/init-template

# Or plain, deterministic rename (Go toolchain only):
make init OWNER=<owner> REPO=<repo> GOVERSION=<x.y>

Features

  • Guided/deterministic project initialization (/init-template or make init)
  • Makefile
    • standard build/test/format/lint
    • protobuf support with repo private protoc installtion (see PROTOC_VERSION in Makefile)
    • multi-platform binaries
    • goreleaser with brew support
  • Workflows
  • Jekyll site setup with the Cayman theme (and some color overrides)
  • .travis.yml for Go

About

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

Topics

Resources

Stars

Watchers

Forks

Contributors