in domain/products.go [28:35]
func (d *Products) GetProduct(ctx context.Context, id string) (*types.Product, error) { product, err := d.store.Get(ctx, id) if err != nil { return nil, fmt.Errorf("%w", err) } return product, nil }