Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/scanner_valuer_test.go

    	}
    	AssertObjEqual(t, data, result, "Name", "Gender", "Age", "Male", "Height", "Birthday", "Password", "Bytes", "Num", "Strings", "Structs")
    }
    
    func TestScannerValuerWithFirstOrCreate(t *testing.T) {
    	DB.Migrator().DropTable(&ScannerValuerStruct{})
    	if err := DB.Migrator().AutoMigrate(&ScannerValuerStruct{}); err != nil {
    		t.Errorf("no error should happen when migrate scanner, valuer struct")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top