Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.75 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.75 KB

go-template

Build Status Coverage Status GoDevDoc Time Tracker Code lines Comments

Project template with GitHub actions for Go.

Install

go install github.com/bool64/go-template@latest
$(go env GOPATH)/bin/go-template --help

Or download binary from releases.

Linux AMD64

wget https://github.com/bool64/go-template/releases/latest/download/linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && rm linux_amd64.tar.gz
./go-template -version

Macos Intel

wget https://github.com/bool64/go-template/releases/latest/download/darwin_amd64.tar.gz && tar xf darwin_amd64.tar.gz && rm darwin_amd64.tar.gz
codesign -s - ./go-template
./go-template -version

Macos Apple Silicon (M1, etc...)

wget https://github.com/bool64/go-template/releases/latest/download/darwin_arm64.tar.gz && tar xf darwin_arm64.tar.gz && rm darwin_arm64.tar.gz
codesign -s - ./go-template
./go-template -version

Usage

Create a new repository from this template, check out it and run ./run_me.sh to replace template name with name of your repository.