mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-26 16:46:14 +08:00
add 代码生成后端验证器
This commit is contained in:
@@ -27,6 +27,7 @@ type @{.varName}EditInp struct {
|
||||
}
|
||||
|
||||
func (in *@{.varName}EditInp) Filter(ctx context.Context) (err error) {
|
||||
@{.editInpValidator}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user