Added version
the build failed Details

This commit is contained in:
kolaente 2018-01-09 11:39:36 +01:00
parent 57eabf625c
commit 491f564115
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@ type UserLogin struct {
Password string `json:"password" form:"password"`
}
// Set the version
var Version string = "1.0"
func main() {
// Init Config
@ -33,6 +36,9 @@ func main() {
os.Exit(1)
}
// Version notification
fmt.Println("Library version", Version)
// Start the webserver
e := routes.NewEcho()
routes.RegisterRoutes(e)