Skip to content

Commit

Permalink
Update 2018-02-16-Gin实践-连载六-编写一个简单的文件日志.md
Browse files Browse the repository at this point in the history
修正文章形参错误
  • Loading branch information
eddycjy authored Oct 8, 2018
1 parent 7b57a61 commit 5843b77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func openLogFile(filePath string) *os.File {
_, err := os.Stat(filePath)
switch {
case os.IsNotExist(err):
mkDir(getLogFilePath())
mkDir()
case os.IsPermission(err):
log.Fatalf("Permission :%v", err)
}
Expand Down

0 comments on commit 5843b77

Please sign in to comment.