Skip to content
New issue

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

issue-740: ascending time function #744

Merged
merged 4 commits into from
Jun 23, 2024

Conversation

rbroggi
Copy link
Contributor

@rbroggi rbroggi commented Jun 22, 2024

What does this do?

Which issue(s) does this PR fix/relate to?

Followup optional comments on #740 and including test for out of order job atTimes which were missing.

List any changes that modify/break current functionality

Have you included tests for your changes?

Yes

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

Notes

util.go Outdated
return atTimesDate, nil
}

func AscendingTime(a, b time.Time) int {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't need to be exported

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, I didn't realize that it was all in the same package. Pushed 👍

@JohnRoesler JohnRoesler merged commit 212db8e into go-co-op:v2 Jun 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants