build-web-application-with-golang icon indicating copy to clipboard operation
build-web-application-with-golang copied to clipboard

question: 3.4 名詞問題

Open JIElite opened this issue 7 years ago • 0 comments

在 3.4 的最後面寫道: “ 8 调用handler的ServeHttp 9 在这个例子中,下面就进入到DefaultServeMux.ServeHttp 11 选择handler: A 判断是否有路由能满足这个request(循环遍历ServerMux的muxEntry) B 如果有路由满足,调用这个路由handler的ServeHttp C 如果没有路由满足,调用NotFoundHandler的ServeHttp ” 請問這裡的 ServeHttp 是不是應該為 ServeHTTP 呢? 還是我在認知上發生錯誤?

謝謝

JIElite avatar Sep 14 '16 12:09 JIElite