diff --git a/gin/b/b.go b/gin/b/b.go index 759b2e2..15f622b 100644 --- a/gin/b/b.go +++ b/gin/b/b.go @@ -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" ) diff --git a/gin/binding/default_validator.go b/gin/binding/default_validator.go index 70a0e8d..a0b95af 100644 --- a/gin/binding/default_validator.go +++ b/gin/binding/default_validator.go @@ -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" diff --git a/gin/binding/form_mapping.go b/gin/binding/form_mapping.go index 5c87d12..2455938 100644 --- a/gin/binding/form_mapping.go +++ b/gin/binding/form_mapping.go @@ -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") diff --git a/gin/binding/json.go b/gin/binding/json.go index 3dc1f7f..1331bcf 100644 --- a/gin/binding/json.go +++ b/gin/binding/json.go @@ -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 diff --git a/go.mod b/go.mod index 39d1919..5cb4b15 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.hpds.cc/Component/gin_valid.git +module git.hpds.cc/Component/gin_valid go 1.13