diff --git a/rest/ngin_test.go b/rest/ngin_test.go index a4591197..01929454 100644 --- a/rest/ngin_test.go +++ b/rest/ngin_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/tal-tech/go-zero/rest/httpx" - "github.com/tal-tech/go-zero/rest/internal/router" + "github.com/tal-tech/go-zero/rest/router" ) func TestWithMiddleware(t *testing.T) { diff --git a/rest/internal/router/patrouter.go b/rest/router/patrouter.go similarity index 100% rename from rest/internal/router/patrouter.go rename to rest/router/patrouter.go diff --git a/rest/internal/router/patrouter_test.go b/rest/router/patrouter_test.go similarity index 100% rename from rest/internal/router/patrouter_test.go rename to rest/router/patrouter_test.go diff --git a/rest/server.go b/rest/server.go index 005f3692..69496868 100644 --- a/rest/server.go +++ b/rest/server.go @@ -13,7 +13,7 @@ import ( "github.com/tal-tech/go-zero/rest/handler" "github.com/tal-tech/go-zero/rest/httpx" "github.com/tal-tech/go-zero/rest/internal" - "github.com/tal-tech/go-zero/rest/internal/router" + "github.com/tal-tech/go-zero/rest/router" ) // use 1000m to represent 100%