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

Base type conversion #1

Open
Frosin opened this issue Nov 12, 2020 · 0 comments
Open

Base type conversion #1

Frosin opened this issue Nov 12, 2020 · 0 comments
Labels

Comments

@Frosin
Copy link

Frosin commented Nov 12, 2020

Hello, thanks for the great library! Tell me how you can take the base type of the field and not its actual type when converting to map? For example, if there is a var customString string type and a myStruct {Key string 'json:" key '} structure, then after conversion there will be a map [key: string] value: customString structure, how can I make the output look like this: map [key: string] value: string?

@X4mp X4mp added the question label Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants