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