Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGenericsScanUUID (0.72 sec)

  1. tests/generics_test.go

    		return tx
    	})
    
    	if !regexp.MustCompile("SELECT \\* FROM .users..* 10").MatchString(sql) {
    		t.Errorf("ToSQL: got wrong sql with Generics API %v", sql)
    	}
    }
    
    func TestGenericsScanUUID(t *testing.T) {
    	ctx := context.Background()
    	users := []User{
    		{Name: uuid.NewString(), Age: 21},
    		{Name: uuid.NewString(), Age: 22},
    		{Name: uuid.NewString(), Age: 23},
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top