continue work at dat lat
This commit is contained in:
1 parent
0125a020a0
commit
b9c745c17c
8 files changed
+122
-31
No files matched your search
@@ -113,3 +113,20 @@ type OTPVerify struct {
|
||||
Email string `json:"email"`
|
||||
UUID string `json:"uuid"`
|
||||
}
|
||||
|
||||
// API
|
||||
type ResponseError struct {
|
||||
Code int
|
||||
Err any
|
||||
}
|
||||
|
||||
type ErrorAPI struct {
|
||||
Errors []string `json:"errors"`
|
||||
Message string `json:"message"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
|
||||
type SuccessAPI struct {
|
||||
Message string `json:"message"`
|
||||
Type string `json:"type"`
|
||||
}
|
||||
Reference in new issue
Block a user