Added middleware support
This commit is contained in:
parent
1e8a846457
commit
414f7c6b33
9 changed files with 135 additions and 157 deletions
|
@ -40,6 +40,7 @@ s.Run(":8080")
|
|||
|
||||
```
|
||||
PASS: TestRouter
|
||||
PASS: TestMiddleware
|
||||
PASS: TestPanic
|
||||
PASS: TestRun
|
||||
PASS: TestUnavailablePort
|
||||
|
@ -49,8 +50,8 @@ coverage: 100.0% of statements
|
|||
## Benchmarks
|
||||
|
||||
```
|
||||
BenchmarkHello-12 33502272 33.64 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkGitHub-12 17698947 65.50 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkHello-12 31128832 38.41 ns/op 0 B/op 0 allocs/op
|
||||
BenchmarkGitHub-12 17406580 68.56 ns/op 0 B/op 0 allocs/op
|
||||
```
|
||||
|
||||
## License
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue