Product represents a product in the catalog
| 75 | |
| 76 | // Product represents a product in the catalog |
| 77 | type Product struct { |
| 78 | Name string `json:"name"` |
| 79 | Category string `json:"category"` |
| 80 | Price float64 `json:"price"` |
| 81 | Description string `json:"description,omitempty"` |
| 82 | InStock bool `json:"in_stock"` |
| 83 | } |
| 84 | |
| 85 | // CheckoutResult represents the result of a checkout operation |
| 86 | type CheckoutResult struct { |
nothing calls this directly
no outgoing calls
no test coverage detected