type T struct {
F struct{ lots, of, fields int }
}

func main() {
var _ T.F
}
https://play.golang.org/p/qjoKIQ0TAG

If T.F just resolved to the underlying type struct{ lots, of, fields int } I 
could stop littering my code with helper types.
Does anyone know if this would create problems? I expect that this has been 
discussed previously, but I couldn't find it. It would be great if someone 
could provide a link.

Best regards,
Florian

-- 
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