update package reference

This commit is contained in:
kevin
2020-08-08 16:40:10 +08:00
parent d19d25c72f
commit 0a7e0cce77
377 changed files with 881 additions and 1423 deletions

View File

@@ -7,15 +7,14 @@ import (
"net/http/httptest"
"testing"
"zero/rest/httpx"
router2 "zero/rest/internal/router"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/rest/httpx"
"github.com/tal-tech/go-zero/rest/internal/router"
)
func TestWithMiddleware(t *testing.T) {
m := make(map[string]string)
router := router2.NewPatRouter()
router := router.NewPatRouter()
handler := func(w http.ResponseWriter, r *http.Request) {
var v struct {
Nickname string `form:"nickname"`