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

Add YAML WithType to handle type for []interface{} arrays or map[interface{}]interface{} #2

Open
ake-persson opened this issue Apr 10, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@ake-persson
Copy link
Owner

ake-persson commented Apr 10, 2018

Instead of returning []interface{} return the type like []int or []string, or map[int]interface{}.

@ake-persson ake-persson added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels Apr 10, 2018
@ake-persson ake-persson changed the title Fix YAML WithMapString to handle type for []inteface{} arrays Add YAML WithType to handle type for []interface{} arrays or map[interface{}]interface{} Apr 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant