- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for patrice (0.13 sec)
-
tests/hooks_test.go
// will set all product's price to last product's price + 10 for idx, value := range []int64{410, 410, 410} { if products[idx].Price != value { t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price) } } products2 := []Product3{ {Name: "Product-1", Price: 100}, {Name: "Product-2", Price: 200}, {Name: "Product-3", Price: 300}, } DB.Create(&products2)
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sat Feb 18 01:20:29 GMT 2023 - 15.9K bytes - Viewed (0)