Skip to content

Commit

Permalink
updating version
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnyu committed May 15, 2024
1 parent b69cada commit f726230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions medialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"flag"
"log"
"os"
"path/filepath"
"text/template"
Expand All @@ -16,8 +17,9 @@ import (
)

var (
router *gin.Engine
test bool
router *gin.Engine
test bool
version = "v0.1.0-alpha"
)

func init() {
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion templates/global/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="container">
<span class="text-muted ">
<div class="float-right">
<a href="https://github.com/nyudltss/go-medialog">go-medialog v0.1.0-alpha</a>
<a href="https://github.com/nyudlts/go-medialog">go-medialog v0.1.0-alpha</a>
</div>
</span>
</div>
Expand Down

0 comments on commit f726230

Please sign in to comment.