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

[Proposal] New function based on EachKey #251

Open
marperia opened this issue Aug 30, 2022 · 0 comments
Open

[Proposal] New function based on EachKey #251

marperia opened this issue Aug 30, 2022 · 0 comments

Comments

@marperia
Copy link

EachKey gets an array of strings as a parameter, but it would be quite better for me to iterate over map data structure. Could you please make a function with paths specified this like?

myGreatPaths := map[string][]string{
	"event": []string{"event"},
	"user_id": []string{"arg", "uid"},
	...
}
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

No branches or pull requests

1 participant