Created
October 21, 2022 15:14
-
-
Save Mr-Malomz/bb6fcd0ca6910f97cf88405bddca3a38 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package data | |
type OTPData struct { | |
PhoneNumber string `json:"phoneNumber,omitempty" validate:"required"` | |
} | |
type VerifyData struct { | |
User *OTPData `json:"user,omitempty" validate:"required"` | |
Code string `json:"code,omitempty" validate:"required"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment