Skip to content

Instantly share code, notes, and snippets.

@ajstarks
Last active February 19, 2016 16:29
Show Gist options
  • Save ajstarks/ec6a85e769bd32719730 to your computer and use it in GitHub Desktop.
Save ajstarks/ec6a85e769bd32719730 to your computer and use it in GitHub Desktop.
package main
import (
"fmt"
"time"
)
func main() {
fmt.Println(<-time.After(time.Duration(60 - time.Now().Second()) * time.Second))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment