Sign in
go
/
talks
/
eff1bd5e72d9802533961846674f884026486737
/
.
/
2014
/
playground
/
sleepfast.go
blob: f3cd8ddcfc7ff8d11e00f1bb1f5b5548798dd5b2 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"fmt"
"time"
)
func main() {
start := time.Now()
fmt.Println(start)
for i := 0; i < 10; i++ {
time.Sleep(time.Nanosecond)
fmt.Println(time.Since(start))
}
}