mold icon indicating copy to clipboard operation
mold copied to clipboard

URGENT: Embedded structs

Open frederikhors opened this issue 4 years ago • 2 comments

What I miss using this instead of https://github.com/leebenson/conform is the check of embedded structs: https://github.com/leebenson/conform/blob/master/conform.go#L272.

Can we add this?

Maybe optional (default: true) with a tag: mod:"embedded=false".

What do you think?

This is URGENT IMO because I cannot use it having a lot of embedded structs.

frederikhors avatar Dec 08 '20 12:12 frederikhors

I'm not sure I understand how this feature is intended to work, can you provide a code sample?

deankarn avatar Dec 10 '20 21:12 deankarn

Oh. Maybe I don't know how to use dive. I will update this issue as soon as I understand it. 😅

frederikhors avatar Dec 11 '20 14:12 frederikhors