Add custom type to parse out seconds as int and durations as strings

This commit is contained in:
Ian Fijolek
2021-05-12 10:33:42 -07:00
parent 04395fa693
commit 860c2cdf43
5 changed files with 40 additions and 12 deletions
+1 -1
View File
@@ -120,6 +120,6 @@ func main() {
panic(err)
}
time.Sleep(config.CheckInterval)
time.Sleep(config.CheckInterval.Value())
}
}