Skip to content

Instantly share code, notes, and snippets.

@jlouis
Created January 13, 2013 10:37
Show Gist options
  • Save jlouis/4523487 to your computer and use it in GitHub Desktop.
Save jlouis/4523487 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"time"
)
const (
loop = 2
)
func main() {
for i := 0; i < loop; i++ {
go func () {
for {}
}()
}
time.Sleep(time.Second)
fmt.Println("Hello, 世界")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment