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

creating a new slice in several job options because appending modifies original #809

Draft
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

JohnRoesler
Copy link
Contributor

@JohnRoesler JohnRoesler commented Dec 19, 2024

What does this do?

The original slices passed into the functions were being modified, leading to undesirable results!

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

Resolves #807

List any changes that modify/break current functionality

Have you included tests for your changes?

TODO - add tests that fail before the changes, and pass after. This should be doable by calling the function more than once.

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

Notes

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.

[BUG] - NewAtTimes Function Modifies Original Slice
1 participant