1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 18:21:39 +02:00
gitea/models/repo
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
..
archiver.go
attachment_test.go
attachment.go
avatar.go
fork_test.go
fork.go
git.go
issue.go
language_stats.go
main_test.go
mirror.go
pushmirror_test.go
pushmirror.go
redirect_test.go
redirect.go
repo_indexer.go
repo_list.go
repo_test.go
repo_unit.go
repo.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
star_test.go
star.go
topic_test.go
topic.go
update.go
user_repo.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
watch_test.go
watch.go
wiki_test.go
wiki.go