gitea/routers/api/v1/utils
Lunny Xiao 5842a55b31
Move login related structs and functions to models/login ()
* Move login related structs and functions to models/login

* Fix test

* Fix lint

* Fix lint

* Fix lint of windows

* Fix lint

* Fix test

* Fix test

* Only load necessary fixtures when preparing unit tests envs

* Fix lint

* Fix test

* Fix test

* Fix error log

* Fix error log

* Fix error log

* remove unnecessary change

* fix error log

* merge main branch
..
git.go Let branch/tag name be a valid ref to get CI status ()
hook.go Add an abstract json layout to make it's easier to change json library ()
utils.go Move login related structs and functions to models/login ()