mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-14 17:52:28 +08:00
fmt: go fmt fileutil/file_test.go and function/function.go
This commit is contained in:
@@ -61,7 +61,6 @@ func Compose(fnList ...func(...interface{}) interface{}) func(...interface{}) in
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Delay make the function execution after delayed time
|
// Delay make the function execution after delayed time
|
||||||
func Delay(delay time.Duration, fn interface{}, args ...interface{}) {
|
func Delay(delay time.Duration, fn interface{}, args ...interface{}) {
|
||||||
time.Sleep(delay)
|
time.Sleep(delay)
|
||||||
|
|||||||
Reference in New Issue
Block a user