package common

import (
	"fmt"
	"strings"
)

func ParseOperatorEntity(operatorEntity string) (operatorType string, operatorName string, ok bool) {
	return strings.Cut(operatorEntity, ":")
}

func BuildOperatorEntity(operatorType string, operatorName string) string {
	return fmt.Sprintf("%s:%s", operatorType, operatorName)
}
