github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/playground/sleep.go (about)

     1  // +build OMIT
     2  
     3  package main
     4  
     5  import (
     6  	"fmt"
     7  	"time"
     8  )
     9  
    10  func main() {
    11  	fmt.Println("Good night")
    12  	time.Sleep(8 * time.Hour)
    13  	fmt.Println("Good morning")
    14  }