upgrade go-chi to v5.

This commit is contained in:
Miroslav Šedivý
2023-09-30 15:07:06 +02:00
parent 312942236d
commit 3ebbd8d48c
8 changed files with 57 additions and 67 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"net/http"
"net/http/pprof"
"github.com/go-chi/chi"
"github.com/go-chi/chi/v5"
)
const pprofPath = "/debug/pprof/"
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5/middleware"
"github.com/rs/zerolog"
)
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"path/filepath"
"time"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/cors"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"