code: func workItemIncludeEvents(request *http.Request, wi *workitem.WorkItem, wi2 *app.WorkItem) {
  	eventsRelated := rest.AbsoluteURL(request, app.WorkitemHref(wi.ID.String())) + "/events"
  	if wi2.Relationships.Events == nil {
  		wi2.Relationships.Events = &app.RelationGeneric{}
  	}
  	wi2.Relationships.Events.Links = &app.GenericLinks{
  		Related: &eventsRelated,
  	}
  }
docs: // workItemIncludeEvents adds relationship about events to workitem (include totalCount)