Open nicewook opened 3 months ago
type User struct { ID string PaymentDetails PaymentDetails }
mongoP := New(purchase)
mongoP := toMongoPurchase(purchase)
func (c *CoffeeBux) Pay(..., purchases []purchase.Purchase) error {
func (c *CoffeeBux) Pay(..., purchases []coffeeco.Product) error {
18 page - missing
37 page - suggestion
46 page - Go naming conventions
88 page - need to use Mean type
89 page - missing directory in Figure 5.9
94 page - wrong code
mongoP := New(purchase)
→mongoP := toMongoPurchase(purchase)
112 page - typo in Figure 6.1