(client *api.Client, hostname, orgName, teamSlug string)
| 267 | } |
| 268 | |
| 269 | func resolveOrganizationTeam(client *api.Client, hostname, orgName, teamSlug string) (*teamResponse, error) { |
| 270 | var response teamResponse |
| 271 | err := client.REST(hostname, "GET", fmt.Sprintf("orgs/%s/teams/%s", orgName, teamSlug), nil, &response) |
| 272 | return &response, err |
| 273 | } |
| 274 | |
| 275 | func listTemplateRepositories(client *http.Client, hostname, owner string) ([]api.Repository, error) { |
| 276 | ownerConnection := "repositoryOwner(login: $owner)" |