GetTeams returns all teams that belong to organization.
()
| 51 | |
| 52 | // GetTeams returns all teams that belong to organization. |
| 53 | func (org *User) GetTeams() error { |
| 54 | return org.getTeams(x) |
| 55 | } |
| 56 | |
| 57 | // TeamsHaveAccessToRepo returns all teams that have given access level to the repository. |
| 58 | func (org *User) TeamsHaveAccessToRepo(repoID int64, mode AccessMode) ([]*Team, error) { |
no test coverage detected