Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dataValue (0.77 sec)

  1. tests/serializer_test.go

    	}
    
    	if result.Data != nil {
    		t.Errorf("expected Data to be nil, got %v", result.Data)
    	}
    
    	// Test with non-nil value
    	dataValue := map[string]interface{}{"key": "value"}
    	product2 := ProductWithAny{Name: "Product 2", Data: dataValue}
    	if err := DB.Create(&product2).Error; err != nil {
    		t.Fatalf("failed to create product with non-nil any field, got error %v", err)
    	}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top