code: func (s *RepositoriesService) License(ctx context.Context, owner, repo string) (*RepositoryLicense, *Response, error) {
  	u := fmt.Sprintf("repos/%v/%v/license", owner, repo)
  	req, err := s.client.NewRequest("GET", u, nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	r := &RepositoryLicense{}
  	resp, err := s.client.Do(ctx, req, r)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return r, resp, nil
  }
docs: // License gets the contents of a repository's license if one is detected.
  //
  // GitHub API docs: https://developer.github.com/v3/licenses/#get-the-contents-of-a-repositorys-license