code: func (s *RepositoriesService) GetDeployment(ctx context.Context, owner, repo string, deploymentID int64) (*Deployment, *Response, error) {
  	u := fmt.Sprintf("repos/%v/%v/deployments/%v", owner, repo, deploymentID)
  
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	deployment := new(Deployment)
  	resp, err := s.client.Do(ctx, req, deployment)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return deployment, resp, nil
  }
docs: // GetDeployment returns a single deployment of a repository.
  //
  // GitHub API docs: https://developer.github.com/v3/repos/deployments/#get-a-single-deployment