We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need AfterOrEqual and BeforeOrEqual methods in time package
If you need check t after or equal you code this
if time.After(u) || time.Equal(u) { // ... }
With needed methods
if time.AfterOrEqual(u) { // ... }
Code look cleaner
#49252
The text was updated successfully, but these errors were encountered:
you can just use !t.Before(u) for same purpose
!t.Before(u)
Sorry, something went wrong.
@moredure thank you!
No branches or pull requests
Need AfterOrEqual and BeforeOrEqual methods in time package
If you need check t after or equal you code this
With needed methods
Code look cleaner
#49252
The text was updated successfully, but these errors were encountered: