get merch methods
This commit is contained in:
parent
6be1cc79fa
commit
d58ad2970b
4 changed files with 165 additions and 30 deletions
|
|
@ -1,5 +1,10 @@
|
|||
package merch
|
||||
|
||||
type merchBundle struct {
|
||||
Merch
|
||||
Surugaya
|
||||
Mandarake
|
||||
}
|
||||
type MerchDTO struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
|
|
@ -15,3 +20,14 @@ type SurugayaDTO struct {
|
|||
type MandarakeDTO struct {
|
||||
Link string `json:"link"`
|
||||
}
|
||||
|
||||
type SingleMerchResponse struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
Origins []any `json:"origins"`
|
||||
}
|
||||
|
||||
type ListResponse struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue