This commit is contained in:
parent
c4b087d990
commit
1d60bf7f13
|
@ -1,8 +1,7 @@
|
||||||
package b
|
package b
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.hpds.cc/Component/gin_valid.git/gin/binding"
|
"git.hpds.cc/Component/gin_valid/gin/binding"
|
||||||
"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.hpds.cc/Component/gin_valid.git/go-playground/locales/zh"
|
"git.hpds.cc/Component/gin_valid/go-playground/locales/zh"
|
||||||
ut "git.hpds.cc/Component/gin_valid.git/go-playground/universal-translator"
|
ut "git.hpds.cc/Component/gin_valid/go-playground/universal-translator"
|
||||||
"git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10"
|
"git.hpds.cc/Component/gin_valid/go-playground/validator/v10"
|
||||||
zhTrans "git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10/translations/zh"
|
zhTrans "git.hpds.cc/Component/gin_valid/go-playground/validator/v10/translations/zh"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
|
@ -12,8 +12,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"git.hpds.cc/Component/gin_valid.git/gin/internal/bytesconv"
|
"git.hpds.cc/Component/gin_valid/gin/internal/bytesconv"
|
||||||
"git.hpds.cc/Component/gin_valid.git/gin/internal/json"
|
"git.hpds.cc/Component/gin_valid/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.hpds.cc/Component/gin_valid.git/gin/internal/json"
|
"git.hpds.cc/Component/gin_valid/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