Remove common.go
This commit is contained in:
parent
360c66c65d
commit
bf73f02fe0
@ -1,12 +0,0 @@
|
|||||||
package common
|
|
||||||
|
|
||||||
import (
|
|
||||||
"fmt"
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
func Bench(pre string, cb func()) {
|
|
||||||
start := time.Now()
|
|
||||||
cb()
|
|
||||||
fmt.Println(pre, ": took:", time.Since(start))
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user