jmattheis/goverter

how about convert A to B with a conditon?

Closed this issue · 1 comments

hello,
I am wondering if goverter can convert struct A to struct B with a condition. That's is to say, the tool will determine whether a field in the A structure is finally converted into a field in the B structure according to a condition .

Could you post an example with code of what you are trying to achieve?