fix a wrong word in the comment

the wrong word in this sentence "If msg is empty, a suitable default message with be sent." “with” change to "will".
This commit is contained in:
DongXiugang 2016-07-27 09:13:34 +08:00 committed by GitHub
parent b7e8791746
commit 418b9c1ca2

View File

@ -168,7 +168,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
// determined by timeoutFunc. The new http.Handler calls h.ServeHTTP to handle
// each request, but if a call runs for longer than its time limit, the
// handler responds with a 503 Service Unavailable error and the message
// provided. (If msg is empty, a suitable default message with be sent.) After
// provided. (If msg is empty, a suitable default message will be sent.) After
// the handler times out, writes by h to its http.ResponseWriter will return
// http.ErrHandlerTimeout. If timeoutFunc returns a nil timeout channel, no
// timeout will be enforced.