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

Decimal clean up. #776

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Decimal clean up. #776

merged 3 commits into from
Jun 27, 2024

Conversation

Tang8330
Copy link
Contributor

Changes

  1. Renaming DecimalDetails -> Details
  2. Removing pointers since it's unnecessary

@Tang8330 Tang8330 marked this pull request as ready for review June 27, 2024 03:06
scale int32
precision int32
}

func NewDecimalDetails(precision int32, scale int32) *DecimalDetails {
func NewDecimalDetails(precision int32, scale int32) *Details {
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably don't need a pointer here either.

Copy link
Contributor

Choose a reason for hiding this comment

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

And we should rename it to NewDetails.

@Tang8330 Tang8330 merged commit 0b260fe into master Jun 27, 2024
1 check passed
@Tang8330 Tang8330 deleted the clean-up-decimal-details branch June 27, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants