- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestGenericsSetCreate (0.07 sec)
-
tests/generics_test.go
sort.Strings(names) expected := []string{"GenericsDistinctDup", "GenericsDistinctUnique"} if !reflect.DeepEqual(names, expected) { t.Errorf("expected names %v, got %v", expected, names) } } func TestGenericsSetCreate(t *testing.T) { ctx := context.Background() name := "GenericsSetCreate" age := uint(21) err := gorm.G[User](DB).Set( clause.Assignment{Column: clause.Column{Name: "name"}, Value: name},
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Nov 02 14:09:18 UTC 2025 - 33.7K bytes - Viewed (0)