Created
October 12, 2021 17:55
-
-
Save yusufpapurcu/c8d5eb2e203a1cfb7826c4ea5192fa8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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