You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/convert
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>
2 years ago
..
convert.go Move organization related structs into sub package (#18518) 2 years ago
git_commit.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
git_commit_test.go Move repository model into models/repo (#17933) 3 years ago
issue.go Move repository model into models/repo (#17933) 3 years ago
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 3 years ago
issue_test.go Move repository model into models/repo (#17933) 3 years ago
main_test.go Decouple unit test code from business code (#17623) 3 years ago
notification.go format with gofumpt (#18184) 2 years ago
pull.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
pull_review.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
pull_test.go format with gofumpt (#18184) 2 years ago
release.go Move attachment into models/repo/ (#17650) 3 years ago
repository.go API: Return primary language and repository language stats API URL (#18396) 2 years ago
status.go format with gofumpt (#18184) 2 years ago
user.go Move accessmode into models/perm (#17828) 3 years ago
user_test.go Move user related model into models/user (#17781) 3 years ago
utils.go Add migration from GitBucket (#16767) 3 years ago
utils_test.go A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wiki.go Move repository model into models/repo (#17933) 3 years ago