Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FieldIgnore (0.07 sec)

  1. tests/customize_field_test.go

    		t.Errorf("Failed to migrate, got error: %v", err)
    	}
    
    	if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "FieldIgnore") {
    		t.Errorf("FieldIgnore should not be created")
    	}
    
    	if DB.Migrator().HasColumn(&CustomizeFieldStruct{}, "field_ignore") {
    		t.Errorf("FieldIgnore should not be created")
    	}
    
    	generateStruct := func(name string) *CustomizeFieldStruct {
    		return &CustomizeFieldStruct{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
Back to top