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