Skip to content

Comments

refactor(bindings/go): add ffiCall type for FFI function signature#6158

Merged
Xuanwo merged 1 commit intomainfrom
bindings-go-svc
May 9, 2025
Merged

refactor(bindings/go): add ffiCall type for FFI function signature#6158
Xuanwo merged 1 commit intomainfrom
bindings-go-svc

Conversation

@yuchanns
Copy link
Member

@yuchanns yuchanns commented May 9, 2025

Part of #4892.

This PR:

  1. Introduces a new type definition for the FFI function signature to enhance code maintainability and readability. This change standardizes FFI call handling across the codebase by replacing inline function signatures with a named type.

  2. Enables all service tests for Go binding, which I believe is the final step needed to close new feature: Support more storage services and APIs for Go bindings. #5326, as all feature requests in this issue have been completed.

Introduce a new type definition for the FFI function signature to improve

code maintainability and readability. This change standardizes how FFI

calls are handled across the codebase by replacing inline function

signatures with a named type.

Signed-off-by: Hanchin Hsieh <[email protected]>
@yuchanns yuchanns marked this pull request as ready for review May 9, 2025 05:39
@yuchanns yuchanns requested a review from Xuanwo as a code owner May 9, 2025 05:39
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels May 9, 2025
Copy link
Member

@Xuanwo Xuanwo left a comment

Choose a reason for hiding this comment

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

Cool!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 9, 2025
@Xuanwo Xuanwo merged commit d6a0e3a into main May 9, 2025
73 checks passed
@Xuanwo Xuanwo deleted the bindings-go-svc branch May 9, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bindings/go lgtm This PR has been approved by a maintainer releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new feature: Support more storage services and APIs for Go bindings.

2 participants