Closed chaoranz758 closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
cloudwego | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 18, 2024 1:35am |
thanks
看了下新增的例子,感觉还是太简单了,需要在两边的文档跳着看。我很久之前提过一个类似的Issue,里面总结了业务开发里常用的校验 Pattern,感觉可以加一下。https://github.com/cloudwego/hertz/issues/652
看了下新增的例子,感觉还是太简单了,需要在两边的文档跳着看。我很久之前提过一个类似的Issue,里面总结了业务开发里常用的校验 Pattern,感觉可以加一下。cloudwego/hertz#652
加一下 @chaoranz758
@chaoranz758 中文有点翻译的感觉,这样改一下会不会好点:
下面给出常见用法:
len($)>0
type=="hello" || type == "world"
regexp('^\\w*$')"
$>0
num==nil || num>0
msg:'C must be false when S.A>0'"
What type of PR is this?
docs
Check the PR title.
(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).
en: docs: optimize hertz vd tag description zh(optional): 完善 hertz 参数校验文档
(Optional) Which issue(s) this PR fixes:
https://github.com/cloudwego/hertz/issues/1070