gorm/callbacks
heige 50e85e14d4
Code optimize (#4415)
* optimize gormSourceDir replace

* fmt.Errorf adjust and Optimize for-break

* strings trim

* feat: avoid using the same name field and if..else optimization adjustment

* optimization callbacks/create.go Create func if...else logic

* fix: callbacks/create.go Create func

* fix FileWithLineNum func and add gormSourceDir unit test

* remove debug print and utils_filenum_test.go
2021-06-10 10:21:28 +08:00
..
associations.go Optimize reflect value length and method (#4280) 2021-04-14 13:00:54 +08:00
callbacks.go Allow customize clauses 2021-04-28 17:19:30 +08:00
callmethod.go Use NewDB to replace WithConditions for Session 2020-11-17 16:28:37 +08:00
create.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
delete.go Allow customize clauses 2021-04-28 17:19:30 +08:00
helper.go Optimize reflect value length and method (#4280) 2021-04-14 13:00:54 +08:00
interfaces.go Add GormValuer interface support 2020-08-27 15:03:57 +08:00
preload.go Fix Preload with nil pointer 2021-04-15 10:37:05 +08:00
query.go Allow customize clauses 2021-04-28 17:19:30 +08:00
raw.go DryRun for RowQuery, Exec, close #3106 2020-07-04 08:35:11 +08:00
row.go Fix Scan with soft delete, close #3712 2020-11-04 11:03:22 +08:00
transaction.go Assign transaction error to db 2021-04-16 19:27:23 +08:00
update.go Allow customize clauses 2021-04-28 17:19:30 +08:00