Sign in
go
/
talks
/
d966e39f9bb0bef5f9c34f29a40d664921e8e3b7
/
.
/
2012
/
concurrency
/
support
/
boring.go
blob: 2ce8aac6686c7c55eda652a3d201572436755d11 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"fmt"
"time"
)
func main() {
boring("boring!")
}
// START OMIT
func boring(msg string) {
for i := 0; ; i++ {
fmt.Println(msg, i)
time.Sleep(time.Second)
}
}
// STOP OMIT