Sign in
go
/
talks
/
1e1f4418115bcc8bc5d8f56a2de7e230c6572db0
/
.
/
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