Skip to content

Commit f66e1b6

Browse files
authored
Typo in NewHandler Function Description
1 parent e5da494 commit f66e1b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda/handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func validateReturns(handler reflect.Type) error {
7676
}
7777

7878
// NewHandler creates a base lambda handler from the given handler function. The
79-
// returned Handler performs JSON deserialization and deserialization, and
79+
// returned Handler performs JSON serialization and deserialization, and
8080
// delegates to the input handler function. The handler function parameter must
8181
// satisfy the rules documented by Start. If handlerFunc is not a valid
8282
// handler, the returned Handler simply reports the validation error.

0 commit comments

Comments
 (0)