Skip to content

Commit

Permalink
Typo in NewHandler Function Description (#374)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan Moffatt <bmoffatt@users.noreply.github.com>
  • Loading branch information
john-pacer and bmoffatt committed May 22, 2021
1 parent e0b9a6c commit 5d64132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda/handler.go
Expand Up @@ -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.
Expand Down

0 comments on commit 5d64132

Please sign in to comment.