timekit
timekit copied to clipboard
Helpful functions to extend the Golang `time` standard package
The following was taken from [jerf](https://www.reddit.com/user/jerf/) via [this reddit post](https://www.reddit.com/r/golang/comments/uqds80/comment/i8trnd1/?utm_source=share&utm_medium=web2x&context=3): > GetFutureDateByFiveMinuteIntervalPattern and all its friends can be implemented as a GetFutureDate(interval time.Duration) time.Time and a GetFutureDateFrom(interval time.Duration, baseTime time.Time)...
The following comment was made by [ppetreus](https://www.reddit.com/user/ppetreus/) via [this reddit post](https://www.reddit.com/r/golang/comments/uqds80/comment/i8tt7l6/?utm_source=share&utm_medium=web2x&context=3). Before using an external package, I perform a code quality audit. I reviewed this function for code quality: ```go...