Пример #1
0
func routine(name string, delay time.Duration) {

	t0 := time.Now()
	debug.Debug(name, " start at ", t0)

	time.Sleep(delay)

	t1 := time.Now()
	debug.Debug(name, " end at ", t1)

	debug.Debug(name, " lasted ", t1.Sub(t0))
}
Пример #2
0
func main() {
	akita.Debug("helladsadsdo")
	akita.Debug("helladsadsdo")
}