Sign in
go
/
website
/
eed5cfb0c7b9187f8a31c7cc73d91f5e65571988
/
.
/
_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