diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82be2da --- /dev/null +++ b/.gitignore @@ -0,0 +1,25 @@ +# Created by .ignore support plugin (hsz.mobi) +### Go template +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# Dependency directories (remove the comment below to include it) +# vendor/ +.idea +.vscode +.fleet +release +logs +.scannerwork +.env +__debug* \ No newline at end of file diff --git a/README.md b/README.md index d433f2e..92739c0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# validate +# 数据验证规则 数据验证封装库, 基于 github.com/go-playground/validator/v10 二次封装 \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..3997e72 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module git.zhangdeman.cn/gateway/validate + +go 1.24.1