get single merch
This commit is contained in:
parent
ec4fe5151e
commit
7922c00238
4 changed files with 117 additions and 7 deletions
|
|
@ -46,12 +46,18 @@ type extraDataDTO struct {
|
|||
Links []originLink `json:"links"`
|
||||
}
|
||||
|
||||
type ListResponse struct {
|
||||
type listResponse struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
Labels []string `json:"labels,omitempty"`
|
||||
}
|
||||
|
||||
type singleMerchResponse struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
Origins []originLink `json:"origins"`
|
||||
}
|
||||
|
||||
type getMerchInternal struct {
|
||||
Id int64 `json:"id"`
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue