Is there a reason why `http.ResponseWriter` does not include io.Writer directly and instead has the `Write([]byte) (int, error)` method? Why did you choose to do it this way? I can see that it adds a dependency on the io package. Was that the concern?
And more generally, when would you recommend not using composition of interfaces? Thanks Nitin -- 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/71a0d839-cb75-4b87-a6a6-4035daf7299an%40googlegroups.com.