refactor goctl (#902)

This commit is contained in:
Kevin Wan
2021-08-11 18:04:42 +08:00
committed by GitHub
parent 0b0406f41a
commit 1fb356f328
3 changed files with 5 additions and 7 deletions

View File

@@ -197,7 +197,7 @@ func Disable() {
})
}
// DisableStat to disable stat logs
// DisableStat disables the stat logs.
func DisableStat() {
atomic.StoreUint32(&disableStat, 1)
}