Skip to content

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