func NewServiceMetadataIdentifier(url *common.URL) *ServiceMetadataIdentifier {
	return &ServiceMetadataIdentifier{
		BaseMetadataIdentifier: BaseMetadataIdentifier{
			ServiceInterface: url.Service(),
			Version:          url.GetParam(constant.VERSION_KEY, ""),
			Group:            url.GetParam(constant.GROUP_KEY, ""),
			Side:             url.GetParam(constant.SIDE_KEY, ""),
		},
		Protocol: url.Protocol,
	}
}
NewServiceMetadataIdentifier create instance.
The ServiceInterface is the @url.Service()
other parameters are read from @url
package identifier
import (
	"dubbo.apache.org/dubbo-go/v3/common"
	"dubbo.apache.org/dubbo-go/v3/common/constant"
)
type ServiceMetadataIdentifier struct {
	Revision string
	Protocol string
	BaseMetadataIdentifier
}