MSP-2525 valid => validate
This commit is contained in:
1 parent
b5beab71fc
commit
b1ab4846af
1 file changed
+4
-4
+4
-4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user