Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCountryReqDTO ¶
type AddCountryReqDTO struct {
domSchema.AddCountryRequest
}
AddCountryReqDTO represent AddCountryReqDTO
type AddCountryResDTO ¶
type AddCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
AddCountryResDTO represent AddCountryResDTO
type DeleteCountryReqDTO ¶
type DeleteCountryReqDTO struct {
domSchema.DeleteCountryRequest
}
DeleteCountryReqDTO represent DeleteCountryReqDTO
type DeleteCountryResDTO ¶
type DeleteCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
DeleteCountryResDTO represent DeleteCountryResDTO
func (*DeleteCountryResDTO) ToJSON ¶
func (r *DeleteCountryResDTO) ToJSON() []byte
ToJSON covert to JSON
type GetCountryReqDTO ¶
type GetCountryReqDTO struct {
domSchema.GetDetailCountryRequest
}
GetCountryReqDTO represent GetCountryReqDTO
type GetCountryResDTO ¶
type GetCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
GetCountryResDTO represent GetCountryResDTO
type ListCountryResDTO ¶
type ListCountryResDTO struct { Query interface{} `json:"query"` Data []*domSchema.Country `json:"data"` }
ListCountryResDTO represent ListCountryResDTO
func (*ListCountryResDTO) ToJSON ¶
func (r *ListCountryResDTO) ToJSON() []byte
ToJSON covert to JSON
type UpdateCountryDataDTO ¶
type UpdateCountryDataDTO domSchema.UpdateCountryData
type UpdateCountryKeysDTO ¶
type UpdateCountryKeysDTO domSchema.UpdateCountryKeys
type UpdateCountryReqDTO ¶
type UpdateCountryReqDTO struct { Keys *UpdateCountryKeysDTO `json:"keys"` Data *UpdateCountryDataDTO `json:"data"` }
UpdateCountryReqDTO represent UpdateCountryReqDTO
type UpdateCountryResDTO ¶
type UpdateCountryResDTO struct { Query interface{} `json:"query"` Data *domSchema.Country `json:"data"` }
UpdateCountryResDTO represent UpdateCountryResDTO
func (*UpdateCountryResDTO) ToJSON ¶
func (r *UpdateCountryResDTO) ToJSON() []byte
ToJSON covert to JSON
Click to show internal directories.
Click to hide internal directories.