Run go fmt

This patch is the result of running `go fmt ./...` with Go v1.16.15.
This commit is contained in:
Pierre Prinetti
2022-07-02 22:56:33 +02:00
committed by nkanaev
parent 2a5692d9a7
commit c1bcc0c517
5 changed files with 16 additions and 16 deletions

View File

@@ -32,9 +32,9 @@ func (r *Router) Use(h Handler) {
}
func (r *Router) For(path string, handler Handler) {
chain := make([]Handler, 0)
chain = append(chain, r.middle...)
chain = append(chain, handler)
chain := make([]Handler, 0)
chain = append(chain, r.middle...)
chain = append(chain, handler)
x := Route{}
x.regex = routeRegexp(path)