This repository was archived by the owner on Aug 6, 2025. It is now read-only.
Commit dc7e235
Emil Pirfält
Accept any
The adapter already uses handlerFunc via it's interface, calls `handlerFunc.ServeHTTP(args)` instead of `handlerFunc(args)`.
Change to accept any interface implementation instead of only the `http.HandlerFunc` implementation.http.Handler implementation in HandlerFuncAdapter1 parent 3a4d350 commit dc7e235
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments