gitea/routers
Gusted ab1379743e
Fix nil checking on typed interface ()
* Fix nil checking on typed interface

- Partially resoles 
- Resolves SA4023 errors.
- Ensure correctly that typed interface are nil.

* Remove unnecessary code

`NewBleveIndexer` will never return nil, even on errors.

* Patch `NewBleveIndexer`

* Fix low-level functions

* Remove deadcode

* Fix GetSession

* Close Elastic search when err isn't nil

* Update elastic_search.go

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
..
api/v1 Decouple unit test code from business code ()
common Rename db Engines related functions ()
install Fix bug on admin subcommand ()
private Move unit into models/unit/ ()
utils just add some unit tests ()
web Fix nil checking on typed interface ()
init.go tune sqlite3 message ()