初始化项目

This commit is contained in:
白茶清欢 2025-03-18 14:25:10 +08:00
parent 1297d00c09
commit 20b3f8390c
3 changed files with 29 additions and 1 deletions

25
.gitignore vendored Normal file
View File

@ -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*

View File

@ -1,3 +1,3 @@
# validate
# 数据验证规则
数据验证封装库, 基于 github.com/go-playground/validator/v10 二次封装

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module git.zhangdeman.cn/gateway/validate
go 1.24.1