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

feat!: add SetFinal for cmd result in go #144

Conversation

halajohn
Copy link
Member

Also, unify the naming convention for state-type APIs to use set_<foo> and is_<foo> across all languages, including C++, Python, and Go.

For example, set_eof/is_eof, set_final/is_final follow this pattern.

BREAKING CHANGE: Places that originally used set_is_final and set_is_eof need to be changed to set_final and set_eof.

Also, unify the naming convention for state-type APIs to use `set_<foo>` and
`is_<foo>` across all languages, including C++, Python, and Go.

For example, `set_eof`/`is_eof`, `set_final`/`is_final` follow this pattern.

BREAKING CHANGE: Places that originally used `set_is_final` and `set_is_eof`
need to be changed to `set_final` and `set_eof`.
@halajohn halajohn self-assigned this Oct 15, 2024
@halajohn halajohn added the enhancement New feature or request label Oct 15, 2024
@halajohn halajohn merged commit 2586ee3 into main Oct 15, 2024
13 checks passed
@halajohn halajohn deleted the 82-golang-cmdresult-doesnt-have-setisfinal-api-which-is-available-on-python branch October 15, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Golang CmdResult doesn't have SetIsFinal API, which is available on python
1 participant