gitea/routers
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
..
api/v1 Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
common Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
install Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
private Fix the bug: deploy key with write access can not push (#19010) 2022-03-22 17:29:07 +08:00
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
init.go Move keys to models/asymkey (#17917) 2021-12-10 16:14:24 +08:00