Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isSameType (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. migrator/migrator.go

    	var (
    		alterColumn bool
    		isSameType  = fullDataType == realDataType
    	)
    
    	if !field.PrimaryKey {
    		// check type
    		if !strings.HasPrefix(fullDataType, realDataType) {
    			// check type aliases
    			aliases := m.DB.Migrator().GetTypeAliases(realDataType)
    			for _, alias := range aliases {
    				if strings.HasPrefix(fullDataType, alias) {
    					isSameType = true
    					break
    				}
    			}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  2. cmd/object-api-multipart_test.go

    		if testCase.expectedErrType == nil && err != nil {
    			t.Errorf("Test %d, unexpected err is received: %v, expected:%v\n", i+1, err, testCase.expectedErrType)
    		}
    		if testCase.expectedErrType != nil && !isSameType(err, testCase.expectedErrType) {
    			t.Errorf("Test %d, unexpected err is received: %v, expected:%v\n", i+1, err, testCase.expectedErrType)
    		}
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
Back to Top