Debug start debug mode
()
| 366 | |
| 367 | // Debug start debug mode |
| 368 | func (db *DB) Debug() (tx *DB) { |
| 369 | tx = db.getInstance() |
| 370 | return tx.Session(&Session{ |
| 371 | Logger: db.Logger.LogMode(logger.Info), |
| 372 | }) |
| 373 | } |
| 374 | |
| 375 | // Set store value with key into current db instance's context |
| 376 | func (db *DB) Set(key string, value interface{}) *DB { |
nothing calls this directly
no test coverage detected