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

update: replace all the bool to *bool. #328

Merged
merged 3 commits into from
Jan 13, 2024
Merged

update: replace all the bool to *bool. #328

merged 3 commits into from
Jan 13, 2024

Conversation

Koooooo-7
Copy link
Member

@Koooooo-7 Koooooo-7 commented Jan 13, 2024

Description

Please share your ideas and awesome changes.

In order to make the behavior consistent with echars.
The bool's default value is mismatch with the echarts options' default val.
Since the default bool isfalse but the default val normally is true.

Although we have the default json tag to adapt it, it seems not work very well.
So, we decide to box it to *bool instead of the primitive in Go.

More details in #287 .

@Koooooo-7 Koooooo-7 marked this pull request as ready for review January 13, 2024 08:43
@Koooooo-7 Koooooo-7 merged commit de4ee9f into master Jan 13, 2024
2 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.

None yet

1 participant