Move softwareVer to var() block

pull/38/head
Matt Baer 6 years ago
parent 6ed9fef88f
commit f0250d501f
  1. 6
      app.go

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

Loading…
Cancel
Save