code: func (s *IssuesService) ListIssueEvents(ctx context.Context, owner, repo string, number int, opt *ListOptions) ([]*IssueEvent, *Response, error) {
  	u := fmt.Sprintf("repos/%v/%v/issues/%v/events", owner, repo, number)
  	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
  	}
  
  	acceptHeaders := []string{mediaTypeLockReasonPreview, mediaTypeProjectCardDetailsPreview}
  	req.Header.Set("Accept", strings.Join(acceptHeaders, ", "))
  
  	var events []*IssueEvent
  	resp, err := s.client.Do(ctx, req, &events)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return events, resp, nil
  }
docs: // ListIssueEvents lists events for the specified issue.
  //
  // GitHub API docs: https://developer.github.com/v3/issues/events/#list-events-for-an-issue