Skip to content

Commit 16345c9

Browse files
harrisonhjonesbmoffatt
authored andcommitted
Fix grammar, wording, & phrasing.
1 parent 669777d commit 16345c9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lambda/entry.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ import (
99
"os"
1010
)
1111

12-
// Start takes a handler, and talks to and internal Lambda endpoint to pass Invoke requests to the handler. If a
13-
// handler does not match one of the supported types, the lambda package will respond to new invokes served by in
14-
// internal endpoint with an appropriate error message. Start blocks, and does not return after being called.
12+
// Start takes a handler and talks to an internal Lambda endpoint to pass requests to the handler. If the
13+
// handler does not match one of the supported types an appropriate error message will be returned to the caller.
14+
// Start blocks, and does not return after being called.
1515
//
1616
// Rules:
1717
//
1818
// * handler must be a function
1919
// * handler may take between 0 and two arguments.
20-
// * if there are two arguments, the first argument must implement "context.Context".
20+
// * if there are two arguments, the first argument must satisfy the "context.Context" interface.
2121
// * handler may return between 0 and two arguments.
22-
// * if there are two return values, the second argument must implement "error".
23-
// * if there is one return value it must implement "error".
22+
// * if there are two return values, the second argument must be an error.
23+
// * if there is one return value it must be an error.
2424
//
2525
// Valid function signatures:
2626
//

0 commit comments

Comments
 (0)