@@ -7,7 +7,7 @@ package binding
import (
"net/http"
- validator "gopkg.in/go-playground/validator.v8"
+ "gopkg.in/go-playground/validator.v8"
)
const (
@@ -10,9 +10,7 @@ import (
"github.com/gin-gonic/gin/json"
-var (
- EnableDecoderUseNumber = false
-)
+var EnableDecoderUseNumber = false
type jsonBinding struct{}
@@ -4,9 +4,7 @@
package binding
-import (
- "net/http"
+import "net/http"
type queryBinding struct{}
@@ -10,9 +10,8 @@ import (
"testing"
"time"
-
"github.com/stretchr/testify/assert"
type testInterface interface {