Skip to content

Instantly share code, notes, and snippets.

@flowerinthenight
Created September 20, 2017 06:40
Show Gist options
  • Save flowerinthenight/5ebeaaa38a59f7ce314a0b96b4357d4a to your computer and use it in GitHub Desktop.
Save flowerinthenight/5ebeaaa38a59f7ce314a0b96b4357d4a to your computer and use it in GitHub Desktop.
package main
import (
"log"
"time"
)
func main() {
log.SetFlags(0)
for {
log.Println("time now:", time.Now())
time.Sleep(time.Second * 1)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment