- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for cat (0.35 sec)
-
schema/relationship_test.go
OwnerType string } type Cat struct { ID int Name string Toy Toy `gorm:"polymorphic:Owner;"` } s, err := schema.Parse(&Cat{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("Failed to parse schema, got error %v", err) } checkEmbeddedRelations(t, s.Relationships.EmbeddedRelations, map[string]EmbeddedRelations{ "Cat": { Relations: map[string]Relation{
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 25.5K bytes - Viewed (0)