fix struct tags (#7)

This commit is contained in:
UUBulb
2024-11-16 20:57:03 +08:00
committed by GitHub
parent 8640cbbf42
commit 288e1b75e9
20 changed files with 87 additions and 87 deletions

View File

@@ -1,7 +1,7 @@
package model
type NotificationGroupForm struct {
Name string `json:"name"`
Name string `json:"name" minLength:"1"`
Notifications []uint64 `json:"notifications"`
}