Skip to content

Commit

Permalink
Merge pull request #160 from karldoenitz/feature-v2.0.1
Browse files Browse the repository at this point in the history
规范化编码
  • Loading branch information
karldoenitz authored Nov 19, 2024
2 parents a4f68a0 + f47a28a commit e356135
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 e356135

Please sign in to comment.