diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-07 01:00:42 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-07 01:00:42 +0700 |
| commit | dbfed69ca90f5cd02b969fd714a35acc80f5f703 (patch) | |
| tree | 49f3cb95a2c6ffec7e04ff1f75dd6915d6f86286 /gotp.go | |
| parent | f0831230b4578a580ae207e446654ca39c95a550 (diff) | |
| download | gotp-dbfed69ca90f5cd02b969fd714a35acc80f5f703.tar.xz | |
cmd/gotp: add subcommand "version"
The "version" command print the module version based on the latest tag,
with additional commit number and hash.
Diffstat (limited to 'gotp.go')
| -rw-r--r-- | gotp.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,10 @@ const ( providerNameAegis = `aegis` ) +var ( + Version = `0.2.0` +) + // normalizeLabel convert non alpha number, hyphen, underscore, or period // characters into `-`. func normalizeLabel(in string) (out string) { |
