package main
import (
"fmt"
"time"
)
func printText(s string) {
for i := 0; i < 10; i++ {
time.Sleep(time.Millisecond * 50)
fmt.Println(s)
}
func main() {
go printText("FOO")
printText("BAR")