Skip to content

Commit

Permalink
Fixed build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiWrn committed Dec 13, 2023
1 parent c5a855d commit 0490691
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 0 additions & 10 deletions cmd/tumlive/main_logger.go

This file was deleted.

5 changes: 5 additions & 0 deletions cmd/tumlive/tumlive.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
"github.com/pkg/profile"
"gorm.io/driver/mysql"
"gorm.io/gorm"
"log/slog"
"net/http"
_ "net/http/pprof"
"os"
Expand All @@ -29,6 +30,10 @@ var VersionTag = "development"

type initializer func()

var logger = slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
Level: slog.LevelDebug,
})).With("service", "main")

var initializers = []initializer{
tools.LoadConfig,
api.ServeWorkerGRPC,
Expand Down

0 comments on commit 0490691

Please sign in to comment.