Initial working version.

This commit is contained in:
Gytis Repečka 2020-02-09 18:32:32 +02:00
parent 4b7435c523
commit eac2f17c8f
Signed by: gytisrepecka
GPG key ID: BE7648906D706003
7 changed files with 225 additions and 0 deletions

26
app.go Normal file
View 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())
}