// ES - create an empty event store object
create an empty event store object
// ES - create an empty event store object
func (c *Client) ES() *EventStore {
	return &EventStore{
		Id:        generateUUID(),
		Channel:   c.opts.defaultChannel,
		Metadata:  "",
		Body:      nil,
		ClientId:  c.opts.clientId,
		transport: c.transport,
	}
}
func ( c * Client ) ES ( ) * EventStore { return & EventStore { Id : generateUUID ( ) , Channel : c . opts . defaultChannel , Metadata : " " , Body : nil , ClientId : c . opts . clientId , transport : c . transport , } }
create an empty event store object
create an empty event store object