Y
Hacker News
new
|
ask
|
show
|
jobs
by
b_e_n_t_o_n
314 days ago
Struct embedding is sugar for
type Foo struct { MyType MyType } myFoo.MyType.url
So it would resolve myFoo.MyType1.url over myFoo.MyType2.NestedType.url