code: func (m *GormIdentityRepository) List(ctx context.Context) ([]Identity, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "identity", "list"}, time.Now())
  	var rows []Identity
  
  	err := m.db.Model(&Identity{}).Order("username").Find(&rows).Error
  	if err != nil && err != gorm.ErrRecordNotFound {
  		return nil, errs.WithStack(err)
  	}
  
  	log.Debug(ctx, map[string]interface{}{
  		"identity_list": &rows,
  	}, "Identity List executed successfully!")
  
  	return rows, nil
  }
docs: // List return all user identities