1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-11 12:19:39 +01:00
gitea/models/user
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
..
avatar.go
email_address_test.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
email_address.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
error.go
external_login_user.go
follow_test.go
follow.go
list.go
main_test.go
openid_test.go
openid.go
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go
user_test.go Restrict email address validation (#17688) 2022-03-14 18:39:54 +01:00
user.go Move organization related structs into sub package (#18518) 2022-03-29 14:29:02 +08:00