Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. gorm.go

    		config.Plugins = map[string]Plugin{}
    	}
    
    	if config.cacheStore == nil {
    		config.cacheStore = &sync.Map{}
    	}
    
    	db = &DB{Config: config, clone: 1}
    
    	db.callbacks = initializeCallbacks(db)
    
    	if config.ClauseBuilders == nil {
    		config.ClauseBuilders = map[string]clause.ClauseBuilder{}
    	}
    
    	if config.Dialector != nil {
    		err = config.Dialector.Initialize(db)
    
    		if err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top