go-template

command module
v0.0.0-...-e9caabd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 1 Imported by: 0

README

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.

Documentation

Overview

Package main is an example CLI app.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL