code: func (r *GormWorkItemRepository) LoadFromDB(ctx context.Context, id uuid.UUID) (*WorkItemStorage, error) {
  	log.Info(nil, map[string]interface{}{
  		"wi_id": id,
  	}, "Loading work item")
  
  	res := WorkItemStorage{}
  	tx := r.db.Model(WorkItemStorage{}).Where("id = ?", id).First(&res)
  	if tx.RecordNotFound() {
  		log.Error(nil, map[string]interface{}{
  			"wi_id": id,
  		}, "work item not found")
  		return nil, errors.NewNotFoundError("work item", id.String())
  	}
  	if tx.Error != nil {
  		return nil, errors.NewInternalError(ctx, tx.Error)
  	}
  	return &res, nil
  }
docs: // ************************************************
  // WorkItemRepository implementation
  // ************************************************
  // LoadFromDB returns the work item with the given natural ID in model representation.