Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for plugin_3_fn1 (0.09 sec)

  1. tests/callbacks_test.go

    	createCallback := db.Callback().Create()
    
    	createCallback.Before("*").Register("plugin_1_fn1", c1)
    	createCallback.After("*").Register("plugin_1_fn2", c2)
    
    	if ok, msg := assertCallbacks(createCallback, []string{"c1", "c2"}); !ok {
    		t.Errorf("callbacks tests failed, got %v", msg)
    	}
    
    	// plugin 2
    	createCallback.Before("*").Register("plugin_2_fn1", c3)
    	if ok, msg := assertCallbacks(createCallback, []string{"c3", "c1", "c2"}); !ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top