Skip to content

Instantly share code, notes, and snippets.

@yusufpapurcu
Created October 12, 2021 17:55
Show Gist options
  • Save yusufpapurcu/c8d5eb2e203a1cfb7826c4ea5192fa8a to your computer and use it in GitHub Desktop.
Save yusufpapurcu/c8d5eb2e203a1cfb7826c4ea5192fa8a to your computer and use it in GitHub Desktop.
func main() {
// Set when we want to continue
until, _ := time.Parse(time.RFC3339, "2023-01-01T00:00:01+02:00")
// Wait until it
<-time.After(time.Until(until))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment