Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ArrayItr (0.06 sec)

  1. tests/create_test.go

    		}}
    
    		if err := DB.Create(&pets).Error; err != nil {
    			t.Fatalf("errors happened when create: %v", err)
    		}
    
    		for _, pet := range pets {
    			CheckPet(t, pet, pet)
    		}
    	})
    
    	t.Run("ArrayPtr", func(t *testing.T) {
    		pets := [...]*Pet{{
    			Name: "PolymorphicHasOne-Array-1",
    			Toy:  Toy{Name: "Toy-PolymorphicHasOne-Array-1"},
    		}, {
    			Name: "PolymorphicHasOne-Array-2",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
Back to top