common structs
This commit is contained in:
parent
991b250118
commit
3e74f1cf5e
1 changed files with 12 additions and 0 deletions
12
internal/common/struct.go
Normal file
12
internal/common/struct.go
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
package common
|
||||
|
||||
type Task struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
Link string `json:"link"`
|
||||
}
|
||||
|
||||
type Result struct {
|
||||
MerchUuid string `json:"merch_uuid"`
|
||||
OriginName string `json:"origin_name"`
|
||||
Price int32 `json:"price"`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue