jmattheis / goverter

Generate type-safe Go converters by simply defining an interface
https://goverter.jmattheis.de/
MIT License
499 stars 47 forks source link

mismatched pointers example #9

Closed soniah closed 2 years ago

soniah commented 2 years ago

I've written this example about how to convert structs with "mismatched" pointers.

Have I written it in the best way? Do you want any more documentation?

Thanks, Sonia.

soniah commented 2 years ago

Thanks for the great feedback, I've updated the code.

And thanks for an amazing project! I've been manually writing conversions from internal types to DTOs, this has made life bearable 😄

jmattheis commented 2 years ago

@soniah Nice to hear that (:.