func (c *EventDescriptor) EventType() string {
	return typeOf(c.event)
}
EventType returns the name of the event type as a string.
package ycq
type EventMessage interface {
	AggregateID() string
	GetHeaders() map[string]interface{}
	SetHeader(string, interface{})
	Event() interface{}
	EventType() string
	Version() *int
}
type EventDescriptor struct {
	id      string
	event   interface{}
	headers map[string]interface{}
	version *int
}
func NewEventMessage(aggregateID string, event interface{}, version *int) *EventDescriptor {
	return &EventDescriptor{
		id:      aggregateID,
		event:   event,
		headers: make(map[string]interface{}),
		version: version,
	}
}