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

fix: fix panic for Variant sign is 's' ,but value is (*string) not st… #343

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhaolunxiang123
Copy link

…ring

fix panic for Variant sign is 's' ,but value is (*string) not string

Log: fix panic for Variant sign is 's' ,but value is (*string) not string

…ring

fix panic for Variant sign is 's' ,but value is (*string) not string

Log: fix panic for Variant sign is 's' ,but value is (*string) not string
@guelfey
Copy link
Member

guelfey commented Dec 4, 2022

Fair point that pointers within Variants aren't handled correctly here. I'm not sure how they could be useful, but if creating them is possible, then formatting should be possible as well of course. Can you add code to make this generic for all pointer types by using reflect, and not just specific for string? Thanks.

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