Documentation ¶
Index ¶
Constants ¶
View Source
const (
Created = EventType("user:created")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { ID uuid.UUID `json:"id" gorm:"type:uuid;primary_key;"` AggregateID uuid.UUID `json:"aggregate_id" gorm:"type:uuid"` AggregateType string `json:"aggregate_type"` Type EventType `json:"type"` Version uint64 `json:"version"` Data PropertyMap `json:"-" gorm:"type:jsonb;column:data"` }
type PropertyMap ¶
type PropertyMap map[string]interface{}
func (*PropertyMap) Scan ¶
func (p *PropertyMap) Scan(src interface{}) error
type UserCreatedData ¶
Click to show internal directories.
Click to hide internal directories.