pull/2256/head
FengbinShi 2 years ago
parent f853c43865
commit eeec107477
  1. 3
      transport/http/binding/bind.go
  2. 3
      transport/http/binding/bind_test.go

@ -1,10 +1,11 @@
package binding package binding
import ( import (
"github.com/go-kratos/kratos/v2/errors"
"net/http" "net/http"
"net/url" "net/url"
"github.com/go-kratos/kratos/v2/errors"
"github.com/go-kratos/kratos/v2/encoding" "github.com/go-kratos/kratos/v2/encoding"
"github.com/go-kratos/kratos/v2/encoding/form" "github.com/go-kratos/kratos/v2/encoding/form"
) )

@ -1,13 +1,14 @@
package binding package binding
import ( import (
"github.com/go-kratos/kratos/v2/errors"
"io" "io"
"net/http" "net/http"
"net/url" "net/url"
"reflect" "reflect"
"strings" "strings"
"testing" "testing"
"github.com/go-kratos/kratos/v2/errors"
) )
func TestBindQuery(t *testing.T) { func TestBindQuery(t *testing.T) {

Loading…
Cancel
Save