- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestEmbedPreload (0.22 sec)
-
tests/preload_test.go
if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) { t.Fatalf("Expected first query to preload manager tools, got: %s", query[0]) } } func TestEmbedPreload(t *testing.T) { type Country struct { ID int `gorm:"primaryKey"` Name string } type EmbeddedAddress struct { ID int Name string CountryID *int Country *Country
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Apr 25 12:21:03 GMT 2024 - 14.9K bytes - Viewed (0)