mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
Replace hardcoded version const with var block populated by goreleaser ldflags (version, commit, date). Add printVersion() matching the pattern used by sibling commands (tcpfwd, smsapid, auth-proxy). Fix date var shadowing in main() by renaming local to today.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%