get and delete methods

This commit is contained in:
nquidox 2026-03-04 17:59:46 +03:00
parent 25d11b31da
commit bc3eee6434
5 changed files with 154 additions and 6 deletions

View file

@ -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"`
}