On Monday, 20 April 2020 16:23:10 UTC+1, David Finkel wrote:
>
>
>
> On Mon, Apr 20, 2020 at 11:02 AM > wrote:
>
>> Whoops, you're right. I got my Time and Duration mixed up. Your question
>> still stands, though. The section on Monotonic Clocks at
>> https://pkg.go.dev/time?tab=doc is a bit dens
On Monday, 20 April 2020 15:04:54 UTC+1, crate...@gmail.com wrote:
>
> According to https://golang.org/pkg/time/#Duration.Round "If m <= 0,
> Round returns d unchanged". So now I'm really curious, why do the Round()
> at all?
>
But in this case, it's a time.Time value, so this applies (
https://