Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRunCallbacks (0.34 sec)

  1. tests/hooks_test.go

    }
    
    func TestRunCallbacks(t *testing.T) {
    	DB.Migrator().DropTable(&Product{})
    	DB.AutoMigrate(&Product{})
    
    	p := Product{Code: "unique_code", Price: 100}
    	DB.Save(&p)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
Back to top