Skip to content

Instantly share code, notes, and snippets.

@pm-kartik-sura
Created May 25, 2015 10:18
Show Gist options
  • Select an option

  • Save pm-kartik-sura/665384ca854644509b21 to your computer and use it in GitHub Desktop.

Select an option

Save pm-kartik-sura/665384ca854644509b21 to your computer and use it in GitHub Desktop.
adding pause in go
package main
import ( "fmt"
"time"
)
func main() {
fmt.Println("Hello world!")
duration := time.Second
time.Sleep(duration)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment