func Tagger2PbEntityID(entityID string) (*pb.EntityId, error) {
	parts := strings.SplitN(entityID, "://", 2)
	if len(parts) != 2 {
		return nil, fmt.Errorf("invalid entity id %q", entityID)
	}

	return &pb.EntityId{
		Prefix: parts[0],
		Uid:    parts[1],
	}, nil
}
// Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format.
Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format.
// Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format .
func Tagger2PbEntityID(entityID string) (*pb.EntityId, error) {
	parts := strings.SplitN(entityID, "://", 2)
	if len(parts) != 2 {
		return nil, fmt.Errorf("invalid entity id %q", entityID)
	}
	return &pb.EntityId{
		Prefix: parts[0],
		Uid:    parts[1],
	}, nil
}
func Tagger2PbEntityID ( entityID string ) ( * pb . EntityId , error ) { parts := strings . SplitN ( entityID , " " , 2 ) if len ( parts ) != 2 { return nil , fmt . Errorf ( " " , entityID ) } return & pb . EntityId { Prefix : parts [ 0 ] , Uid : parts [ 1 ] , } , nil }
Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format.
Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format .