Move softwareVer to var() block
This commit is contained in:
parent
6ed9fef88f
commit
f0250d501f
1 changed files with 3 additions and 3 deletions
6
app.go
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…
Add table
Reference in a new issue