code: func entityVal(ctrl string) (entity string) {
  	if strings.HasSuffix(ctrl, "Controller") {
  		entity = strings.ToLower(strings.TrimSuffix(ctrl, "Controller"))
  	}
  	return entity
  }
docs: // ctrl=SpaceController -> entity=space