Skip to content

Commit

Permalink
added build version, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
ex0rcist committed Oct 31, 2024
1 parent cb96088 commit e8fac0e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main

import (
"fmt"

"github.com/ex0rcist/metflix/internal/logging"
"github.com/ex0rcist/metflix/internal/server"
)
Expand All @@ -13,7 +15,7 @@ var (

func main() {
logging.Setup()
logging.LogInfoF("starting server v%s [%s, #%s]...", buildVersion, buildDate, buildCommit)
fmt.Printf("Build version: %s\nBuild date: %s\nBuild commit: %s\n", buildVersion, buildDate, buildCommit)

srv, err := server.New()
if err != nil {
Expand Down

0 comments on commit e8fac0e

Please sign in to comment.