Closed bincyber closed 3 years ago
Hi. Thanks for your PR.
I'm hesitating to merge it. I try to keep this library small, as its description says: "Minimalistic extension to Go". I'm not sure this addition is common enough to be included. I've never needed this functionality / utility.
Thanks for reviewing. I'll close this PR.
Hi :wave:
I came across this library via StackOverflow when looking for a way to parse a weekday string into a
time.Weekday
. Thanks for open sourcing this.This PR adds a
NextWeekday
utility function to answer the question of:Example usage: