Versions in this module Expand all Collapse all v1 v1.0.3 Oct 31, 2022 v1.0.2 Oct 31, 2022 Changes in this version + func AssertEqual(t *testing.T, got, expect interface{}) + func AssertObjEqual(t *testing.T, r, e interface{}, names ...string) + func Now() *time.Time + type Account struct + Number string + UserID sql.NullInt64 + type Child struct + Name string + Parent *Parent + ParentID *uint + type Company struct + ID int + Name string + type Coupon struct + AmountOff uint32 + AppliesToProduct []*CouponProduct + ID int + PercentOff float32 + type CouponProduct struct + CouponId int + Desc string + ProductId string + type DummyDialector struct + func (DummyDialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{}) + func (DummyDialector) DataTypeOf(*schema.Field) string + func (DummyDialector) DefaultValueOf(field *schema.Field) clause.Expression + func (DummyDialector) Explain(sql string, vars ...interface{}) string + func (DummyDialector) Initialize(db *gorm.DB) error + func (DummyDialector) Migrator(*gorm.DB) gorm.Migrator + func (DummyDialector) Name() string + func (DummyDialector) QuoteTo(writer clause.Writer, str string) + type Language struct + Code string + Name string + type Order struct + Coupon *Coupon + CouponID string + Num string + type Parent struct + Children []*Child + FavChild *Child + FavChildID uint + type Pet struct + Name string + Toy Toy + UserID *uint + type Toy struct + Name string + OwnerID string + OwnerType string + type User struct + Account Account + Active bool + Age uint + Birthday *time.Time + Company Company + CompanyID *int + Friends []*User + Languages []Language + Manager *User + ManagerID *uint + Name string + NamedPet *Pet + Pets []*Pet + Team []User + Toys []Toy