diff --git a/logger/log.go b/logger/log.go index 214fe33..5f6b507 100644 --- a/logger/log.go +++ b/logger/log.go @@ -156,7 +156,7 @@ func InitLoggerWithConfigFile(filePath string) { if filePath == "" { return } - raw, err := ioutil.ReadFile(filePath) + raw, err := os.ReadFile(filePath) if err != nil { println(err.Error()) os.Exit(1)