You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there's a flatten tag which implements this behavior.
type B struct {
A `msg",flatten"
}
But it seems it only works if A and B is in the same file. This breaks if it's in a different file. Worse, it doesn't print any warning that it skips a field during generation.
Having a structure like:
Produces currently an unnecessary wrapped outcome:
Expected outcome:
The text was updated successfully, but these errors were encountered: