mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 22:30:47 +01:00
make rules.name optional
This commit is contained in:
@@ -39,7 +39,7 @@ type (
|
||||
one match means this line is matched.
|
||||
*/
|
||||
Rule struct {
|
||||
Name string `json:"name" validate:"required"`
|
||||
Name string `json:"name"`
|
||||
On RuleOn `json:"on"`
|
||||
Do Command `json:"do"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user