get and delete methods
This commit is contained in:
parent
25d11b31da
commit
bc3eee6434
5 changed files with 154 additions and 6 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package merch
|
||||
|
||||
import "time"
|
||||
|
||||
// Origins
|
||||
type newOriginDTO struct {
|
||||
Name string `json:"name"`
|
||||
|
|
@ -26,3 +28,10 @@ type originLink struct {
|
|||
Name string `json:"origin_name"`
|
||||
Link string `json:"origin_link"`
|
||||
}
|
||||
|
||||
type merchDTO struct {
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue