1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

Upgrade chi to v5 (#17298)

This commit is contained in:
Lunny Xiao
2021-10-14 10:50:23 +08:00
committed by GitHub
parent bd14c40461
commit d47798ccc7
35 changed files with 2692 additions and 132 deletions

View File

@ -15,7 +15,7 @@ import (
"code.gitea.io/gitea/modules/web/middleware"
"gitea.com/go-chi/binding"
"github.com/go-chi/chi"
chi "github.com/go-chi/chi/v5"
)
// Wrap converts all kinds of routes to standard library one

View File

@ -10,7 +10,7 @@ import (
"net/http/httptest"
"testing"
"github.com/go-chi/chi"
chi "github.com/go-chi/chi/v5"
"github.com/stretchr/testify/assert"
)