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/stretchr/testify/assert"
 	"github.com/tal-tech/go-zero/rest/httpx"
 	"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) {
 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/handler"
 	"github.com/tal-tech/go-zero/rest/httpx"
 	"github.com/tal-tech/go-zero/rest/httpx"
 	"github.com/tal-tech/go-zero/rest/internal"
 	"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%
 // use 1000m to represent 100%