/printver

Sample repository - how to include version information in Go projects

Primary LanguageShellMIT LicenseMIT

printver

Sample repository - how to include version information in Go projects

Install via go

go install github.com/mfridman/printver/cmd/printver@latest

Install via curl and install script

curl -fsSL https://raw.githubusercontent.com/mfridman/printver/main/install.sh |\
    sudo sh

# specific version

curl -fsSL https://raw.githubusercontent.com/mfridman/printver/main/install.sh |\
    sudo sh -s v1.1.0