mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-11 00:02:28 +08:00
update doc
This commit is contained in:
@@ -325,7 +325,6 @@ func TimestampNano(timezone ...string) int64 {
|
||||
|
||||
// TrackFuncTime track the time of function execution.
|
||||
// call it at top of the func like `defer TrackFuncTime(time.Now())()`
|
||||
// Play: todo
|
||||
func TrackFuncTime(pre time.Time) func() {
|
||||
callerName := getCallerName()
|
||||
return func() {
|
||||
|
||||
Reference in New Issue
Block a user