githaven/routers/api/v1/user
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711)
* Move some repository related code into sub package

* Move more repository functions out of models

* Fix lint

* Some performance optimization for webhooks and others

* some refactors

* Fix lint

* Fix

* Update modules/repository/delete.go

Co-authored-by: delvh <dev.lh@web.de>

* Fix test

* Merge

* Fix test

* Fix test

* Fix test

* Fix test

Co-authored-by: delvh <dev.lh@web.de>
2022-06-06 16:01:49 +08:00
..
app.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
email.go Don't panic on ErrEmailInvalid (#19441) 2022-04-20 23:39:30 +02:00
follower.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
gpg_key.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
helper.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
key.go Fix DELETE request for non-existent public key (#19443) 2022-04-21 03:08:30 +02:00
repo.go Move some repository related code into sub package (#19711) 2022-06-06 16:01:49 +08:00
settings.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
star.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
user.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
watch.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00