0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-03-19 13:12:31 +01:00
gitea/routers/api/v1/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
..
blob.go
branch.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00
collaborators.go
commits.go
file.go
fork.go
git_hook.go Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
git_ref.go
hook.go
hook_test.go Decouple unit test, remove intermediate unittestbridge package (#17662) 2021-11-16 16:53:21 +08:00
issue.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
issue_tracked_time.go
key.go
label.go Calculate label URL on API (#16186) 2021-09-10 18:03:16 +02:00
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull.go
pull_review.go
release.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
release_attachment.go
release_tags.go
repo.go
repo_test.go
star.go
status.go
subscriber.go
tag.go
teams.go
topic.go
transfer.go
tree.go
wiki.go