This PR adds support for including output of function on serialization of objects. See godoc in main.go for more information and an example.
@fjl, since functions cannot have tags this PR grabs the tags from the override structure while field tags are grabbed from the original type. Is might be a bit confusion for users but I don't have a good solution.
This PR adds support for including output of function on serialization of objects. See godoc in main.go for more information and an example.
@fjl, since functions cannot have tags this PR grabs the tags from the override structure while field tags are grabbed from the original type. Is might be a bit confusion for users but I don't have a good solution.