Skip to content

Commit

Permalink
Update godoc in entry_generic.go
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoffatt committed Jan 9, 2023
1 parent 99a9a4b commit 0d45ea2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lambda/entry_generic.go
Expand Up @@ -16,8 +16,6 @@ type HandlerFunc[TIn, TOut any] interface {

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

0 comments on commit 0d45ea2

Please sign in to comment.