Skip to content

Commit

Permalink
Update config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
htdcx committed May 24, 2024
1 parent 2ad94bc commit 624c624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func GetConfig() appConfig {
func readJson[T any](path string) T {
file, err := os.Open(path)
if err != nil {
panic(path + "配置文件不存在")
panic(path + " config not found")
}
defer file.Close()
decoder := json.NewDecoder(file)
Expand Down

0 comments on commit 624c624

Please sign in to comment.