Matt Bolt
|
c31e7b2eda
Replace the poorly written ParseDuration func in timeutil with the ParseDuration from go std lib enhanced with the ability to parse "d" units (days). Add unit tests for complex durations and negative durations.
|
4 anni fa |
Sean Holcomb
|
a5b86b8c9f
Go FMT
|
4 anni fa |
Sean Holcomb
|
d8277b9202
Refactor name, fix string
|
4 anni fa |
Sean Holcomb
|
8e7f860da4
More unit tests
|
4 anni fa |
Sean Holcomb
|
288a60ebf0
Refactor methods to pass time.Duration rather than strings
|
4 anni fa |
Sean Holcomb
|
53a9557e12
Refactor time.go, clean out duplicate methods, check for whitespace, add
|
4 anni fa |