Move softwareVer to var() block

This commit is contained in:
Matt Baer 2018-11-26 08:37:06 -05:00
parent 6ed9fef88f
commit f0250d501f

6
app.go
View file

@ -36,12 +36,12 @@ const (
softwareURL = "https://writefreely.org"
)
// Software version can be set from git env using -ldflags
var softwareVer = "0.3"
var (
debugging bool
// Software version can be set from git env using -ldflags
softwareVer = "0.3"
// DEPRECATED VARS
// TODO: pass app.cfg into GetCollection* calls so we can get these values
// from Collection methods and we no longer need these.