On Tue, Jul 12, 2016 at 12:10 PM, Anmol Sethi <an...@aubble.com> wrote: > Why is http.Handler’s method name ServeHTTP and not Handle? Handle seems to > be more idiomatic.
I doubt there is any deep reason. ServeHTTP dates back to when the Handler interface was introduced before the public release of Go (https://github.com/golang/go/commit/e73acc1b35f3490f3d800b4bf49da79630e808fc). It predates many of the idioms we've adopted over time. Ian -- 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.