gorm/utils
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
..
tests Fix nested embedded struct, close #3278 2020-08-18 11:21:40 +08:00
utils.go Code optimize (#4415) 2021-06-10 10:21:28 +08:00
utils_test.go Fix check valid db name, close #3315 2020-08-27 19:15:40 +08:00