entity

package
v1.7.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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 : 为触发事件的方法, `实体名字:方法名` object : 结构体数据,会做json转换 header : k/v 附加数据

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL