export router

This commit is contained in:
kevin
2020-08-12 12:16:36 +08:00
committed by kingxt
parent d4097af627
commit c637f86817
4 changed files with 2 additions and 2 deletions

View File

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

View File

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