Round(0) ensures that the expiry is being compared to the wall clock time, 
since that's what the server uses to verify.

If you're interested, you can look at https://golang.org/cl/83575, the commit 
that introduced this logic.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4a82eb01-54fc-461c-ace5-79f608dcb76f%40googlegroups.com.

Reply via email to