Exemplo n.º 1
0
Arquivo: gr1.go Projeto: vimer/VI.test
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))
}
Exemplo n.º 2
0
Arquivo: log.go Projeto: vimer/VI.test
func main() {
	akita.Debug("helladsadsdo")
	akita.Debug("helladsadsdo")
}