Skip to content

refactor: use new() instead of protobuf helper function#994

Merged
burningalchemist merged 1 commit intoburningalchemist:masterfrom
swoga:refactor-use-new
May 5, 2026
Merged

refactor: use new() instead of protobuf helper function#994
burningalchemist merged 1 commit intoburningalchemist:masterfrom
swoga:refactor-use-new

Conversation

@swoga
Copy link
Copy Markdown
Contributor

@swoga swoga commented May 5, 2026

Hi,

this PR is a small refactor, as Go 1.26 now allows to use new() instead of requiring helper functions.
https://go.dev/doc/go1.26#language

BR, Peter

@burningalchemist
Copy link
Copy Markdown
Owner

Hey @swoga, thank you for your contribution! 👍 Yeah, I've noticed the new new() feature from the changelog, but mainly moved to v1.26 because of the underlying dependency. The refactoring would follow, but this PR is what I'd want, so I appreciate it. 👏

@burningalchemist burningalchemist merged commit 2b43ea0 into burningalchemist:master May 5, 2026
4 checks passed
@swoga swoga deleted the refactor-use-new branch May 6, 2026 13:10
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