This commit is contained in:
wangjian 2023-01-04 22:11:23 +08:00
parent 7940dd5237
commit c4b087d990
5 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,8 @@
package b
import (
"git.ningdatech.com/ningda/gin_valid/gin/binding"
"git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10"
"git.hpds.cc/Component/gin_valid.git/gin/binding"
"git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10"
"mime"
"net/http"
)

View File

@ -5,10 +5,10 @@
package binding
import (
"git.ningdatech.com/ningda/gin_valid/go-playground/locales/zh"
ut "git.ningdatech.com/ningda/gin_valid/go-playground/universal-translator"
"git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10"
zhTrans "git.ningdatech.com/ningda/gin_valid/go-playground/validator/v10/translations/zh"
"git.hpds.cc/Component/gin_valid.git/go-playground/locales/zh"
ut "git.hpds.cc/Component/gin_valid.git/go-playground/universal-translator"
"git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10"
zhTrans "git.hpds.cc/Component/gin_valid.git/go-playground/validator/v10/translations/zh"
"reflect"
"strings"
"sync"

View File

@ -12,8 +12,8 @@ import (
"strings"
"time"
"git.ningdatech.com/ningda/gin_valid/gin/internal/bytesconv"
"git.ningdatech.com/ningda/gin_valid/gin/internal/json"
"git.hpds.cc/Component/gin_valid.git/gin/internal/bytesconv"
"git.hpds.cc/Component/gin_valid.git/gin/internal/json"
)
var errUnknownType = errors.New("unknown type")

View File

@ -10,7 +10,7 @@ import (
"io"
"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

2
go.mod
View File

@ -1,4 +1,4 @@
module git.ningdatech.com/ningda/gin_valid
module git.hpds.cc/Component/gin_valid.git
go 1.13