Just divide the durations: https://play.golang.org/p/ILE11eLzSx



On Wed, Jul 6, 2016 at 2:43 PM, Tong Sun <suntong...@gmail.com> wrote:

> I know golang time.Duration supports basic calculations. but the problem
> I'm trying to answer is,
>
> How many *100 seconds *does *one hour *has?
>
> This is my code:
> https://play.golang.org/p/HnwY8pDxL8
>
> It's not fully working. Please help. Thanks
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to