Skip to content

Commit

Permalink
Grammar tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
creachadair committed Jan 26, 2022
1 parent c9992d9 commit a3045e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ request parameters using the UnmarshalParams method on the request:
return usefulStuffWith(args)
}
The handler package exists to make it easier to use functions that do not have
this exact type signature. It uses reflection to lift functions into the
Handler interface. For example, suppose we want to export this Add function:
The handler package makes it easier to use functions that do not have this
exact type signature as handlers, by using reflection to lift functions into
the Handler interface. 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 a3045e9

Please sign in to comment.