MSP-2525 valid => validate

This commit is contained in:
Kirill Ryabov committed 2023-12-15 17:04:23 +07:00
1 parent b5beab71fc
commit b1ab4846af
1 file changed
+4 -4
+4 -4
View File
@@ -1,13 +1,13 @@
package domain
type LockRequest struct {
Key string `valid:"required"`
TTLInSec int `valid:"required"`
Key string `validate:"required"`
TTLInSec int `validate:"required"`
}
type UnLockRequest struct {
Key string `valid:"required"`
LockKey string `valid:"required"`
Key string `validate:"required"`
LockKey string `validate:"required"`
}
type LockResponse struct {