continue work at dat lat

This commit is contained in:
linhdevtran99 committed 2024-01-19 13:49:56 +07:00
1 parent 0125a020a0
commit b9c745c17c
8 files changed
+122 -31

No files matched your search

+17
View File
@@ -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"`
}