1 Matching Annotations
- Jul 2017
-
blog.golang.org blog.golang.org
-
(It's usually a mistake to pass back the concrete type of an error rather than error, for reasons discussed in the Go FAQ, but it's the right thing to do here because ServeHTTP is the only place that sees the value and uses its contents.)
Good clarifying comment on when to pass back the concrete type of an error.
Tags
Annotators
URL
-