diff --git a/decoder.go b/decoder.go index c01be83..761b75d 100644 --- a/decoder.go +++ b/decoder.go @@ -12,7 +12,7 @@ import ( // Decode is a package-level variable set to our default Decoder. We do this // because it allows you to set render.Decode to another function with the -// same function signature, while also utilizing the render.Decoder() function +// same function signature, while also utilizing the DefaultDecoder function // itself. Effectively, allowing you to easily add your own logic to the package // defaults. For example, maybe you want to impose a limit on the number of // bytes allowed to be read from the request body. diff --git a/responder.go b/responder.go index f38807d..499bd7f 100644 --- a/responder.go +++ b/responder.go @@ -16,7 +16,7 @@ type M map[string]interface{} // Respond is a package-level variable set to our default Responder. We do this // because it allows you to set render.Respond to another function with the -// same function signature, while also utilizing the render.Responder() function +// same function signature, while also utilizing the DefaultResponder function // itself. Effectively, allowing you to easily add your own logic to the package // defaults. For example, maybe you want to test if v is an error and respond // differently, or log something before you respond.