- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEmbeddedStruct (0.12 sec)
-
schema/schema_test.go
} for _, f := range fields { checkSchemaField(t, versionUser, &f, func(f *schema.Field) { f.Creatable = true f.Updatable = true f.Readable = true }) } } func TestEmbeddedStruct(t *testing.T) { type CorpBase struct { gorm.Model OwnerID string } type Company struct { ID int OwnerID int Name string Ignored string `gorm:"-"` }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 12:19:31 UTC 2024 - 13.3K bytes - Viewed (0)