1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/routers/api/v1/org
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
..
hook.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
label.go Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
member.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
org.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
team.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00