20 lines
439 B
Go
20 lines
439 B
Go
package response
|
|
|
|
type WestdexResp struct {
|
|
Message string `json:"message"`
|
|
Code string `json:"code"`
|
|
Data string `json:"data"`
|
|
ID string `json:"id"`
|
|
ErrorCode *int `json:"error_code"`
|
|
Reason string `json:"reason"`
|
|
}
|
|
type Wrapper[T any] struct {
|
|
Data T `json:"data"`
|
|
}
|
|
|
|
type ThreeElementsResponse struct {
|
|
Code int `json:"code"`
|
|
Msg string `json:"msg"`
|
|
PhoneType string `json:"phoneType"`
|
|
}
|