Documentation ¶ Index ¶ type Goods func (g *Goods) Identity() string func (g *Goods) Shopping() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Goods ¶ type Goods struct { freedom.Entity // contains filtered or unexported fields } func (*Goods) Identity ¶ func (g *Goods) Identity() string func (*Goods) Shopping ¶ func (g *Goods) Shopping() DomainEvent(fun interface{}, object interface{}, header ...map[string]string) fun : Function for triggering the event, `k:v = EntityName:FuncName` object : Structure data, Could do json conversion header : k/v, Additional data Source Files ¶ View all Source files goods.go Click to show internal directories. Click to hide internal directories.