I can't get why struct based constraints were banned. struct is a kind of types in Go and a wish to only allow them having some field is valid.
-- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/71f82a41-329b-4acd-8729-8f02f4fc9918o%40googlegroups.com.