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
- binpack - binary resource packer
- download - download helpers
- fs - file system helpers
- git - git stats
- pack - archiving
- prompt - utilities for building interactive cli applications
- runner - executing other processes
- 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.