code: func (r *GormRevisionRepository) List(ctx context.Context, workitemID uuid.UUID) ([]Revision, error) {
  	log.Debug(nil, map[string]interface{}{}, "List all revisions for work item with ID=%v", workitemID)
  	var revisions []Revision
  	if err := r.db.Where("work_item_id = ?", workitemID).Order("revision_time asc").Find(&revisions).Error; err != nil {
  		return nil, errors.NewInternalError(ctx, errs.Wrap(err, "failed to retrieve work item revisions"))
  	}
  	return revisions, nil
  }
docs: // List retrieves all revisions for a given work item