updated tmpls to use internal logger

This commit is contained in:
steven carpenter 2025-07-22 04:55:32 -04:00
parent 2c58ea6895
commit 51e612a50b
2 changed files with 4 additions and 3 deletions

View file

@ -3,6 +3,7 @@ package config
import (
"fmt"
"github.com/spf13/viper"
"{{.ModName}}/internal/logger"
)
func Init() {
@ -12,7 +13,7 @@ func Init() {
err := viper.ReadInConfig()
if err != nil {
fmt.Println("No config file found; using defaults.")
logger.Log.Info("No config file found; using defaults.")
}
viper.SetDefault("app.theme", "dark")