Lunny Xiao
baed01f247
Remove unnecessary attributes of User struct ( #17745 )
...
* Remove unnecessary functions of User struct
* Move more database methods out of user struct
* Move more database methods out of user struct
* Fix template failure
* Fix bug
* Remove finished FIXME
* remove unnecessary code
2021-11-22 23:21:55 +08:00
Lunny Xiao
d710af6669
Remove NewSession method from db.Engine interface ( #17577 )
...
* Remove NewSession method from db.Engine interface
* Fix bug
* Some improvements
* Fix bug
* Fix test
* Use XXXBean instead of XXXExample
2021-11-21 23:41:00 +08:00
wxiaoguang
750a8465f5
A better go code formatter, and now make fmt
can run in Windows ( #17684 )
...
* go build / format tools
* re-format imports
2021-11-17 20:34:35 +08:00
Lunny Xiao
90eb9fb889
Move EmailAddress & UserRedirect into models/user/ ( #17607 )
...
* Move EmailAddress into models/user/
* Fix test
* rename user_mail to user_email
* Fix test
* Move UserRedirect into models/user/
* Fix lint & test
* Fix lint
* Fix lint
* remove nolint comment
* Fix lint
2021-11-11 15:03:30 +08:00