Hi, 

type Duration int64

The current Duration is int64 and the duration value should never be less 
than 0 else it will panic. It would be safe and advisable to change it to 
uint64 or so, where at least it would not cause panic. 

Is there any reason for not using uint?

Thank you
Susarla Nikhilesh

-- 
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/bc708af3-add6-4929-936f-a624ec09411cn%40googlegroups.com.

Reply via email to