code: func (s *OrganizationsService) ListPendingOrgInvitations(ctx context.Context, org string, opt *ListOptions) ([]*Invitation, *Response, error) {
  	u := fmt.Sprintf("orgs/%v/invitations", org)
  	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
  	}
  
  	var pendingInvitations []*Invitation
  	resp, err := s.client.Do(ctx, req, &pendingInvitations)
  	if err != nil {
  		return nil, resp, err
  	}
  	return pendingInvitations, resp, nil
  }
docs: // ListPendingOrgInvitations returns a list of pending invitations.
  //
  // GitHub API docs: https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations