code: func convertTrackerQueryToApp(appl application.Application, request *http.Request, trackerquery remoteworkitem.TrackerQuery) *app.TrackerQuery {
  	trackerQueryStringType := remoteworkitem.APIStringTypeTrackerQuery
  	selfURL := rest.AbsoluteURL(request, app.TrackerqueryHref(trackerquery.ID))
  	t := &app.TrackerQuery{
  		Type: trackerQueryStringType,
  		ID:   &trackerquery.ID,
  		Attributes: &app.TrackerQueryAttributes{
  			Query:    trackerquery.Query,
  			Schedule: trackerquery.Schedule,
  		},
  		Links: &app.GenericLinks{
  			Self: &selfURL,
  		},
  	}
  	return t
  }
docs: // ConvertTrackerQueryToApp converts from internal to external REST representation