Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCallback (0.22 sec)

  1. tests/callbacks_test.go

    	return fnames[len(fnames)-1]
    }
    
    func c1(*gorm.DB) {}
    func c2(*gorm.DB) {}
    func c3(*gorm.DB) {}
    func c4(*gorm.DB) {}
    func c5(*gorm.DB) {}
    func c6(*gorm.DB) {}
    
    func TestCallbacks(t *testing.T) {
    	type callback struct {
    		name    string
    		before  string
    		after   string
    		remove  bool
    		replace bool
    		err     string
    		match   func(*gorm.DB) bool
    		h       func(*gorm.DB)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top