code: func (s *RepositoriesService) ListDeploymentStatuses(ctx context.Context, owner, repo string, deployment int64, opt *ListOptions) ([]*DeploymentStatus, *Response, error) {
  	u := fmt.Sprintf("repos/%v/%v/deployments/%v/statuses", owner, repo, deployment)
  	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 statuses []*DeploymentStatus
  	resp, err := s.client.Do(ctx, req, &statuses)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return statuses, resp, nil
  }
docs: // ListDeploymentStatuses lists the statuses of a given deployment of a repository.
  //
  // GitHub API docs: https://developer.github.com/v3/repos/deployments/#list-deployment-statuses