It sure does...thanks again :)

On Wednesday, June 10, 2020 at 5:34:23 PM UTC-6, andrey mirtchovski wrote:
>
> > Cool, makes sense.  Assuming NewTicker does return monotonic time. 
> > 
> > I wonder if there is a way to verify. 
>
> just fmt.Println the value you receive on the ticker chan, you'll see 
> the monotonic component tacked on in the end: 
>
> $ cat t.go 
> package main 
> import ( 
>    "fmt" 
>    "time" 
> ) 
> func main() { 
>    t := time.NewTicker(time.Second) 
>    fmt.Println(<-t.C) 
> } 
> $ go run t.go 
> 2020-06-10 17:31:04.234797 -0600 MDT m=+1.003493724 
> $ 
>

-- 
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/50264e57-13a8-4e8c-a8c3-05ca5060b1e0o%40googlegroups.com.

Reply via email to