浏览代码

export router

kevin 4 年之前
父节点
当前提交
b541403ce2
共有 4 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      rest/ngin_test.go
  2. 0 0
      rest/router/patrouter.go
  3. 0 0
      rest/router/patrouter_test.go
  4. 1 1
      rest/server.go

+ 1 - 1
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) {

+ 0 - 0
rest/internal/router/patrouter.go → rest/router/patrouter.go


+ 0 - 0
rest/internal/router/patrouter_test.go → rest/router/patrouter_test.go


+ 1 - 1
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%