GetTeams returns all teams that belong to organization, and that the user has joined.
(userID int64)
| 473 | // GetTeams returns all teams that belong to organization, |
| 474 | // and that the user has joined. |
| 475 | func (org *User) GetUserTeams(userID int64) ([]*Team, error) { |
| 476 | return org.getUserTeams(x, userID) |
| 477 | } |
| 478 | |
| 479 | // GetUserRepositories returns a range of repositories in organization which the user has access to, |
| 480 | // and total number of records based on given condition. |
no test coverage detected