Hi, I noticed that when io.Discard was introduced in https://codereview.appspot.com/4426066/, it replaced code like:
type devNull struct{} With: type devNull int Both had the very same implementation of the Write method: func (devNull) Write(p []byte) (int, os.Error) { return len(p), nil } What's the advantage of using an int in this case, if any? Thank you, Rodolfo Carvalho -- 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.