- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for UINT (2.34 sec)
-
tests/hooks_test.go
gorm.Model Name string Code string Price int64 Owner string Item ProductItem } type ProductItem struct { gorm.Model Code string Product4ID uint AfterFindCallTimes int } func (pi ProductItem) BeforeCreate(*gorm.DB) error { if pi.Code == "invalid" { return errors.New("invalid item") } return nil }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 18 01:20:29 UTC 2023 - 15.9K bytes - Viewed (0)