This commit is contained in:
parent
7940dd5237
commit
c4b087d990
|
@ -1,8 +1,8 @@
|
||||||
package b
|
package b
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.ningdatech.com/ningda/gin_valid/gin/binding"
|
"git.hpds.cc/Component/gin_valid.git/gin/binding"
|
||||||
"git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10"
|
"git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10"
|
||||||
"mime"
|
"mime"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
package binding
|
package binding
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.ningdatech.com/ningda/gin_valid/go-playground/locales/zh"
|
"git.hpds.cc/Component/gin_valid.git/go-playground/locales/zh"
|
||||||
ut "git.ningdatech.com/ningda/gin_valid/go-playground/universal-translator"
|
ut "git.hpds.cc/Component/gin_valid.git/go-playground/universal-translator"
|
||||||
"git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10"
|
"git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10"
|
||||||
zhTrans "git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10/translations/zh"
|
zhTrans "git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10/translations/zh"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.ningdatech.com/ningda/gin_valid/gin/internal/bytesconv"
|
"git.hpds.cc/Component/gin_valid.git/gin/internal/bytesconv"
|
||||||
"git.ningdatech.com/ningda/gin_valid/gin/internal/json"
|
"git.hpds.cc/Component/gin_valid.git/gin/internal/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
var errUnknownType = errors.New("unknown type")
|
var errUnknownType = errors.New("unknown type")
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"git.ningdatech.com/ningda/gin_valid/gin/internal/json"
|
"git.hpds.cc/Component/gin_valid.git/gin/internal/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
// EnableDecoderUseNumber is used to call the UseNumber method on the JSON
|
// EnableDecoderUseNumber is used to call the UseNumber method on the JSON
|
||||||
|
|
Loading…
Reference in New Issue