Skip to content

Commit

Permalink
规范化编码
Browse files Browse the repository at this point in the history
  • Loading branch information
karldoenitz committed Nov 18, 2024
1 parent e46f9ef commit f47a28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f47a28a

Please sign in to comment.