alphagov/router — pull request #23 by dcarley (2013-10-11 13:53:40+00:00)
Title: [#58693908] Dedupe ListenAndServe error handling

Wrap it in a function, rather than using nearly identical anonymous
functions. `http.Handler` satifies the type. As an interface it also
satifies `nil`.

- http://golang.org/pkg/net/http/#Handler
- http://golang.org/ref/spec#The_zero_value

Thanks @nickstenning