code: func (s *LicensesService) List(ctx context.Context) ([]*License, *Response, error) {
  	req, err := s.client.NewRequest("GET", "licenses", nil)
  	if err != nil {
  		return nil, nil, err
  	}
  
  	var licenses []*License
  	resp, err := s.client.Do(ctx, req, &licenses)
  	if err != nil {
  		return nil, resp, err
  	}
  
  	return licenses, resp, nil
  }
docs: // List popular open source licenses.
  //
  // GitHub API docs: https://developer.github.com/v3/licenses/#list-all-licenses