This commit is contained in:
wangjian 2023-01-04 22:16:08 +08:00
parent c4b087d990
commit 1d60bf7f13
5 changed files with 9 additions and 10 deletions

View File

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

View File

@ -5,10 +5,10 @@
package binding
import (
"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"
"git.hpds.cc/Component/gin_valid/go-playground/locales/zh"
ut "git.hpds.cc/Component/gin_valid/go-playground/universal-translator"
"git.hpds.cc/Component/gin_valid/go-playground/validator/v10"
zhTrans "git.hpds.cc/Component/gin_valid/go-playground/validator/v10/translations/zh"
"reflect"
"strings"
"sync"

View File

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

View File

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

2
go.mod
View File

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