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

Reduce buildFields function call #161

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Reduce buildFields function call #161

merged 1 commit into from
Jan 16, 2024

Conversation

sunfish-shogi
Copy link
Contributor

  • Add global scope variable itemBoxFields to prevent multiple call for buildFields.
  • Simplify reflect.TypeOf(payload).Elem() to eflect.TypeOf(Item{}).

related to #159

@sunfish-shogi sunfish-shogi self-assigned this Jan 16, 2024
@sunfish-shogi sunfish-shogi merged commit 0341140 into master Jan 16, 2024
8 checks passed
@sunfish-shogi sunfish-shogi deleted the update-getboxdef branch January 16, 2024 03:21
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