Initial commit

This commit is contained in:
Stash Dev
2019-02-09 04:30:49 -08:00
commit 87eeed7e71
1093 changed files with 558731 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
//+build debug
package plugins
import (
"fmt"
"time"
)
func log(name string, fn func() error) error {
start := time.Now()
defer fmt.Println(name, time.Now().Sub(start))
return fn()
}