Restruct logger order

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-01-21 09:25:10 +08:00
parent 3f8f2547be
commit 64392c32c6
5 changed files with 35 additions and 24 deletions

View File

@@ -1,10 +1,11 @@
package config
import (
"log"
"os"
"strings"
log "github.com/sirupsen/logrus"
"github.com/spf13/viper"
)

View File

@@ -16,7 +16,6 @@ type server struct {
Address string `yaml:"address"`
ExternalUrl string `yaml:"external_url"`
DebugMode string `yaml:"debug_mode"`
FileLogger string `yaml:"file_logger"`
}
type database struct {