Skip to content

refactor(go): move go struct serializer init to struct_init.go#3255

Merged
chaokunyang merged 3 commits intoapache:mainfrom
chaokunyang:move_struct_init_to_a_file
Feb 4, 2026
Merged

refactor(go): move go struct serializer init to struct_init.go#3255
chaokunyang merged 3 commits intoapache:mainfrom
chaokunyang:move_struct_init_to_a_file

Conversation

@chaokunyang
Copy link
Collaborator

@chaokunyang chaokunyang commented Feb 3, 2026

Why?

  • Move struct serializer initialization helpers out of struct.go to keep the file focused on runtime serialization code and improve navigation.

What does this PR do?

  • Extract struct serializer initialization helpers (hash computation, field metadata setup, type-def alignment) into struct_init.go.
  • Keep behavior unchanged; this is a code organization refactor.

Related issues

#2982

Does this PR introduce any user-facing change?

No. Refactor only; no API or protocol changes.

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

Benchmark

@chaokunyang chaokunyang merged commit 9dd5560 into apache:main Feb 4, 2026
55 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.

2 participants