code: func (s *TeamsService) ListTeamRepos(ctx context.Context, team int64, opt *ListOptions) ([]*Repository, *Response, error) {
  	u := fmt.Sprintf("teams/%v/repos", team)
  	u, err := addOptions(u, opt)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	// TODO: remove custom Accept header when topics API fully launches.
  	headers := []string{mediaTypeTopicsPreview, mediaTypeNestedTeamsPreview}
  	req.Header.Set("Accept", strings.Join(headers, ", "))
  
  	var repos []*Repository
  	resp, err := s.client.Do(ctx, req, &repos)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return repos, resp, nil
  }
docs: // ListTeamRepos lists the repositories that the specified team has access to.
  //
  // GitHub API docs: https://developer.github.com/v3/teams/#list-team-repos