The default duration output from go (golang) is to use a single float with one or two characters identifying the unit, ex:
56.920404ms
4.61µs
45.1s
etc.
I can't seem to find a built-in way to convert these. How can it be done?
↧