Sign in
go
/
website
/
a1c9012b542bb9285233aa48a6c8b73a24c3b6a9
/
.
/
_content
/
talks
/
2012
/
concurrency
/
support
/
boring.go
blob: b049ee0d40789442b7fe9c8c0d8af982d2afe2e8 [
file
] [
log
] [
blame
]
// +build ignore,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