-
Notifications
You must be signed in to change notification settings - Fork 45
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
Allow Recursive Functions to take extra function parameters for private fields #55
Comments
This also includes:
This can be especially useful for time.Time, which has loads of private fields, but can be easily handled with a special case function. Tackling a single one of these would be greatly appreciated. |
The idea is when you traverse through the struct and find a field that matches the input type of one of the input functions, you should rather use the function provided in the parameter recursing deeper. |
This is the generic version of issue #47 |
@awalterschulze is the generic version solved or it is still open? |
There is a lot of discussion about how to solve the generic version in #47 |
Nice, I'm interested in tackling the generic version, sounds fun to me! |
Go for it, first make sure you understand what has been agreed upon in #47 |
For example
, where T contains a field with type A and B
The text was updated successfully, but these errors were encountered: