From 5d6413264f82afaa7587b56e3f09f1422c898c68 Mon Sep 17 00:00:00 2001 From: john-pacer <81990832+john-pacer@users.noreply.github.com> Date: Fri, 21 May 2021 21:39:29 -0500 Subject: [PATCH] Typo in NewHandler Function Description (#374) Co-authored-by: Bryan Moffatt --- lambda/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda/handler.go b/lambda/handler.go index f6f931c1..39b8d6d8 100644 --- a/lambda/handler.go +++ b/lambda/handler.go @@ -76,7 +76,7 @@ func validateReturns(handler reflect.Type) error { } // NewHandler creates a base lambda handler from the given handler function. The -// returned Handler performs JSON deserialization and deserialization, and +// returned Handler performs JSON serialization and deserialization, and // delegates to the input handler function. The handler function parameter must // satisfy the rules documented by Start. If handlerFunc is not a valid // handler, the returned Handler simply reports the validation error.