Added middleware support

This commit is contained in:
2024-03-13 20:18:01 +01:00
parent 02328cb41e
commit c13dbc55d2
9 changed files with 135 additions and 157 deletions

View File

@ -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