Hello gophers,

Do you know why the compiler does not infer nested struct type? Was there 
any discussion about that?

I find myself enjoying nested struct a lot when programming in Go. But, the 
initialisation is so cumbersome that I always end up removing the nested 
struct and giving a longer name to the fields.

https://play.golang.org/p/MRcNDkJNb7

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to