0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 01:29:52 +01:00
gitea/routers/api/v1/user
Lunny Xiao b06b9a056c
Move organization related structs into sub package (#18518)
* Move organization related structs into sub package

* Fix test

* Fix lint

* Move more functions into sub packages

* Fix bug

* Fix test

* Update models/organization/team_repo.go

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Apply suggestions from code review

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>

* Fix fmt

* Follow suggestion from @Gusted

* Fix test

* Fix test

* Fix bug

* Use ctx but db.DefaultContext on routers

* Fix bug

* Fix bug

* fix bug

* Update models/organization/team_user.go

* Fix bug

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-03-29 14:29:02 +08:00
..
app.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
email.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08: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 user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
key.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
repo.go Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
settings.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
star.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
user.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
watch.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00