第六章修改 (#843)

Co-authored-by: Joe Chen <jc@unknwon.io>
This commit is contained in:
Haigang Zhou
2022-05-09 22:19:53 +08:00
committed by GitHub
parent f5dae8f559
commit c42d8a340a
13 changed files with 101 additions and 99 deletions

View File

@@ -14,14 +14,14 @@ where()
where()
```
您也可以设置 `log` 包中的 flag 参数来实现:
您也可以设置 `log` 包中的 `flag` 参数来实现:
```go
log.SetFlags(log.Llongfile)
log.Print("")
```
或使用一个更加简短版本的 `where` 函数:
或使用一个更加简短版本的 `where()` 函数:
```go
var where = log.Print