aditya.siregar 06d7b4764f update
2025-04-26 12:23:12 +07:00

19 lines
469 B
Go

package response
type Product struct {
ID int64 `json:"id"`
Name string `json:"name"`
Type string `json:"type"`
Price float64 `json:"price"`
Status string `json:"status"`
Description string `json:"description"`
Image string `json:"image"`
}
type ProductList struct {
Products []Product `json:"products"`
Total int64 `json:"total"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}