Struct embedding is sugar for
type Foo struct {
MyType MyType
}
myFoo.MyType.url
So it would resolve myFoo.MyType1.url over myFoo.MyType2.NestedType.urlStruct embedding is sugar for
type Foo struct {
MyType MyType
}
myFoo.MyType.url
So it would resolve myFoo.MyType1.url over myFoo.MyType2.NestedType.url