code: func (r *GormTrackerQueryRepository) Load(ctx context.Context, ID uuid.UUID) (*TrackerQuery, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "trackerquery", "load"}, time.Now())
  	res := TrackerQuery{}
  	tx := r.db.Where("id = ?", ID).Find(&res)
  	if tx.RecordNotFound() {
  		log.Error(ctx, map[string]interface{}{
  			"tracker_id": ID.String(),
  		}, "tracker resource not found")
  		return nil, errors.NewNotFoundError("tracker query", ID.String())
  	}
  	if tx.Error != nil {
  		log.Error(ctx, map[string]interface{}{
  			"err":             tx.Error,
  			"trackerquery_id": ID,
  		}, "unable to load the trackerquery by ID")
  		return nil, errors.NewInternalError(ctx, errs.Wrapf(tx.Error, "failed to load the trackerquery by ID: %s", ID))
  	}
  	return &res, nil
  }
docs: // Load returns the tracker query for the given id
  // returns NotFoundError, ConversionError or InternalError