code: func (r *Repository) GetCompareURL() string {
  	if r == nil || r.CompareURL == nil {
  		return ""
  	}
  	return *r.CompareURL
  }
docs: // GetCompareURL returns the CompareURL field if it's non-nil, zero value otherwise.