Skip to content

Commit

Permalink
Update doc text.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Dec 10, 2022
1 parent 64804a9 commit 53e6760
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ request parameters using the UnmarshalParams method on the request:
}
The handler package makes it easier to use functions that do not have this
exact type signature as handlers, by using reflection to wrap other function
types to satisfy the Handler signature. For example, suppose we want to export
this Add function:
exact type signature as handlers, using reflection to wrap them in a Handler
function. For example, suppose we want to export this Add function:
// Add returns the sum of a slice of integers.
func Add(ctx context.Context, values []int) int {
Expand Down

0 comments on commit 53e6760

Please sign in to comment.