- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for type (0.12 sec)
-
tests/migrate_test.go
} else if debug == "false" { db.Logger = db.Logger.LogMode(logger.Silent) } type Object1 struct { ID uint } type Object2 struct { ID uint Field1 int `gorm:"type:int8"` } type Object3 struct { ID uint Field1 int `gorm:"type:int4"` } type Object4 struct { ID uint Field2 int } db.Migrator().DropTable("objects")
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
tests/query_test.go
t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Age": if _, ok := first[dbName].(uint); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } case "Birthday": if _, ok := first[dbName].(*time.Time); !ok { t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName]) } }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 49.8K bytes - Viewed (0)