- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestGenericsAssociationSlice (0.12 seconds)
-
tests/generics_test.go
Type: op.Type, } if assoc.Type != op.Type { t.Errorf("Association type should be %s, got %v", op.TypeName, assoc.Type) } } } func TestGenericsAssociationSlice(t *testing.T) { // Test that a slice of Association can be used associations := []clause.Association{ {Association: "Orders", Type: clause.OpDelete}, {Association: "Profiles", Type: clause.OpUpdate},Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0)