mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00
make rules.name
optional
This commit is contained in:
parent
1a5f3735cf
commit
39c5886d7a
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ type (
|
||||||
one match means this line is matched.
|
one match means this line is matched.
|
||||||
*/
|
*/
|
||||||
Rule struct {
|
Rule struct {
|
||||||
Name string `json:"name" validate:"required"`
|
Name string `json:"name"`
|
||||||
On RuleOn `json:"on"`
|
On RuleOn `json:"on"`
|
||||||
Do Command `json:"do"`
|
Do Command `json:"do"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue