Skip to content

Commit 0d45ea2

Browse files
authored
Update godoc in entry_generic.go
1 parent 99a9a4b commit 0d45ea2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lambda/entry_generic.go

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ type HandlerFunc[TIn, TOut any] interface {
1616

1717
// StartHandlerFunc is the same as StartWithOptions except that it takes a generic input
1818
// so that the function signature can be validated at compile time.
19-
//
20-
// Currently only the `func (context.Context, TIn) (TOut, error)` variant is supported
2119
func StartHandlerFunc[TIn any, TOut any, H HandlerFunc[TIn, TOut]](handler H, options ...Option) {
2220
start(newHandler(handler, options...))
2321
}

0 commit comments

Comments
 (0)