Skip to content

Commit 06b1a18

Browse files
authored
fix godoc typo in example for WithEnableSIGTERM
1 parent 93199f7 commit 06b1a18

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
@@ -81,7 +81,7 @@ func WithSetIndent(prefix, indent string) Option {
8181
//
8282
// Usage:
8383
// lambda.StartWithOptions(
84-
// func (event any) (any error) {
84+
// func (event any) (any, error) {
8585
// return event, nil
8686
// },
8787
// lambda.WithEnableSIGTERM(func() {

0 commit comments

Comments
 (0)