Created
October 17, 2012 16:17
-
-
Save boboTjones/3906457 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| ) | |
| func main() { | |
| momloop := func() { | |
| for | |
| { | |
| time.Sleep(1 * time.Second) | |
| fmt.Printf("mom?\n") | |
| } | |
| } | |
| go momloop() | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package main
import (
"fmt"
"time"
)
func momloop() {
for
{
time.Sleep(1 * time.Second)
fmt.Printf("mom?\n")
}
}
func main() {
}