go-utils
A package of helper utilities for GO development
Command Line Utilities
- rtag - an interactive git tag management utility for bumping up semantic versions
Libraries
library |
description |
ansi |
utilities to support virtual terminal output |
binpack |
binary resource packer |
download |
download helpers |
filesystem |
file system helpers |
git |
git stats |
gopackage |
a little helper to construct go build ... commands |
markout |
a set of tiny pretty writers targeting markdown, html, and plain text output with the same API |
osarch |
utilities to help with OS/ARCH pairs when building cross-platform targets |
pack |
archiving |
prompt |
utilities for building interactive cli applications |
sourcecode |
tracking row:column locations within source code |
unpack |
unarchiving |
version |
version number utilities |
Staging
Building of zipped packages for different platforms is provided by a staging app in stage
subdir.
Execute it with the following command with cwd in repo root:
go run ./stage
This builds the utility for various platforms and places their zipped executables into the .deploy
subdir.
You can also use the staging app to perform proper local installation of Command line utilities:
go run ./stage install
This is similar to calling go install ./cmd/rtag
. Similarly, built executables
are placed into GOHOME/bin
. In addition, it injects those with proper version
info and checks your host for potential path resolution conflicts.