binding
binding copied to clipboard
autobindings to automatically create FieldMap functions for your structs
Hey,
First of all great work. So when I started using binding, one of the overheads I felt was writing FieldMap function.
So leveraging the go generate power, I have created a tool called autobindings that automatically generates the field map function.
Right now, it checks for the JSON tag, if it's available it uses the same mapping, if not it uses the field name for mapping.
I would love if you could refer this library in your documentation :). And let me know your feedback.
Thanks
Ahhh cool! Thanks for doing this! It was a pain point for quite a few users I think. I'll take a look soon and add it to the docs.