Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for com (0.12 sec)

  1. tests/query_test.go

    	switch v := val.(type) {
    	case int64:
    		t.data = v * 2
    		return nil
    	default:
    		return fmt.Errorf("DoubleInt64 cant not scan with:%v", v)
    	}
    }
    
    // https://github.com/go-gorm/gorm/issues/5091
    func TestQueryScannerWithSingleColumn(t *testing.T) {
    	user := User{Name: "scanner_raw_1", Age: 10}
    	DB.Create(&user)
    
    	var result1 DoubleInt64
    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)
Back to top