3 ms·
`5 * time.Milliseconds(2500)` is not a type error, though `int(5) * time.Milliseconds(2500)` is. (This is especially relevant because you really mean `5 * (250
by morelisp 4y ago
`5 * time.Milliseconds(2500)` is not a type error, though `int(5) * time.Milliseconds(2500)` is.
(This is especially relevant because you really mean `5 * (2500 * time.Millisecond)` vs. int(5) * (2500 * time.Millisecond)`, as there is no `time.Milliseconds` function.)
- xigoi 4y agoThanks, I don't remember exactly how it worked. It doesn't take away from the stupidity.