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