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

Add Stop and Clear methods + some enhancements #2

Merged
merged 5 commits into from
Nov 1, 2023
Merged

Add Stop and Clear methods + some enhancements #2

merged 5 commits into from
Nov 1, 2023

Conversation

metal3d
Copy link
Owner

@metal3d metal3d commented Nov 1, 2023

  • less verbose tests
  • adding Stop() and Clear() methods
  • compat on Go 1.14

- main branch must be protected now
- we do tests on pull requests
Context is not necessary here. A simple chan + goroutine is enough to
check timeout.
- `Stop()` can now stop the pipeline
- `Clear()` drops all elements in the pipeline, it can be useful in some
  situation
- we now get the entire logs in a buffer (easy to check content)
- some tests needs now to wait a bit as we now try to ensure that a
  state is set in synchroneous mode
Fyne continues to maintain the compatibilty with Go 1.14. Even if it's
not the case for Go-GST, we prefer to follow the rule.

Note that contributors can update go.mod using:
`go mod tidy -compat="1.14"`
@metal3d metal3d merged commit 00b2103 into main Nov 1, 2023
2 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.

1 participant