1
0
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:
dudaodong
2021-12-26 21:41:46 +08:00
parent b33a9cbfe3
commit 6ab4fca433
2 changed files with 2 additions and 3 deletions

View File

@@ -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)