Skip to content

Instantly share code, notes, and snippets.

@daneharrigan
Created February 21, 2013 22:24
Show Gist options
  • Save daneharrigan/5008913 to your computer and use it in GitHub Desktop.
Save daneharrigan/5008913 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"os"
"time"
)
func main() {
count := 0
for {
count++
fmt.Printf("%d: %s\n", count, os.Getenv("FOO"))
time.Sleep(2 * time.Second)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment