From f726230f00e00309d8948b81cdc5a6a3fca0b5c3 Mon Sep 17 00:00:00 2001 From: Don Mennerich Date: Wed, 15 May 2024 19:19:52 -0400 Subject: [PATCH] updating version --- medialog.go | 7 +++++-- templates/global/footer.html | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/medialog.go b/medialog.go index 7a18e48..afba464 100644 --- a/medialog.go +++ b/medialog.go @@ -2,6 +2,7 @@ package main import ( "flag" + "log" "os" "path/filepath" "text/template" @@ -16,8 +17,9 @@ import ( ) var ( - router *gin.Engine - test bool + router *gin.Engine + test bool + version = "v0.1.0-alpha" ) func init() { @@ -61,6 +63,7 @@ func main() { //load applicatin routes routes.LoadRoutes(router) + log.Printf("go-medialog %s", version) //start the application if err := router.Run(); err != nil { os.Exit(1) diff --git a/templates/global/footer.html b/templates/global/footer.html index 94d76ad..c3b8d98 100644 --- a/templates/global/footer.html +++ b/templates/global/footer.html @@ -4,7 +4,7 @@