Initial working version.
This commit is contained in:
parent
4b7435c523
commit
eac2f17c8f
7 changed files with 225 additions and 0 deletions
26
app.go
Normal file
26
app.go
Normal file
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Copyright © 2020 Gytis Repečka (gytis@repecka.com)
|
||||
*
|
||||
* This file is part of webimg.
|
||||
*
|
||||
* webimg is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, included
|
||||
* in the LICENSE file in this source code package.
|
||||
*/
|
||||
|
||||
package webimg
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// FormatVersion constructs the version string for the application
|
||||
func FormatVersion() string {
|
||||
// return serverSoftware + " " + softwareVer
|
||||
return "gowebimg 0.0.1"
|
||||
}
|
||||
|
||||
// OutputVersion prints out the version of the application.
|
||||
func OutputVersion() {
|
||||
fmt.Println(FormatVersion())
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue