go-shrt

Shortlinks and go-get redirects
git clone git://git.danielmoch.com/go-shrt.git
Log | Files | Refs | README | LICENSE

commit f27d3323dbb8b9698666892fdcb769c071995a64
parent df1d1e109ed1f75501346844837b34814c5fd2ba
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue, 22 Dec 2020 10:30:37 -0500

Add default version string for go-get

Diffstat:
Mcmd/shrt/main.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/shrt/main.go b/cmd/shrt/main.go @@ -53,11 +53,11 @@ const ( ) var ( - arg0 = path.Base(os.Args[0]) - mux = sync.RWMutex{} + arg0 = path.Base(os.Args[0]) + mux = sync.RWMutex{} + version = "go-get" shrt, cfg *goshrt.ShrtFile - version string osInit func(string) error )