From 7a0c709c84f4f8562c5600d0086de2d4b21bdb8f Mon Sep 17 00:00:00 2001 From: Carl Jackson Date: Sun, 15 Feb 2015 21:23:31 -0800 Subject: [PATCH] No parameter names in documentation --- web/web.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/web.go b/web/web.go index 01cd7e8..0fd762c 100644 --- a/web/web.go +++ b/web/web.go @@ -97,8 +97,8 @@ interface{} (that is named for the purposes of documentation), however only the following concrete types are accepted: - types that implement http.Handler - types that implement Handler - - func(w http.ResponseWriter, r *http.Request) - - func(c web.C, w http.ResponseWriter, r *http.Request) + - func(http.ResponseWriter, *http.Request) + - func(web.C, http.ResponseWriter, *http.Request) */ type HandlerType interface{} @@ -107,6 +107,6 @@ MiddlewareType is the type of Goji middleware. In order to provide an expressive API, this type is an alias for interface{} (that is named for the purposes of documentation), however only the following concrete types are accepted: - func(http.Handler) http.Handler - - func(c *web.C, http.Handler) http.Handler + - func(*web.C, http.Handler) http.Handler */ type MiddlewareType interface{}