package
0.0.0-20221129134921-1aa1ba8b0ff6
Repository: https://github.com/framework-arp/arp4g.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
完整复制一个实体(深拷贝),这里约定,实体只能是一个struct,实体的field只能是基本类型或者实体或者集合(Array,Map,Slice),集合的元素只能是基本类型或者实体.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

在过程中新建的状态.
错误状态.
No description provided by the author
No description provided by the author
No description provided by the author
收集,共享,输出一个过程中的数据。包括过程信息,过程中涉及到的实体的状态变化.
在当前过程当中的实体.
No description provided by the author
No description provided by the author
从仓库中取来的状态.
需要去仓库中删除的状态.
瞬时状态,就是在过程中创建之后又在过程中删除,和仓库没有关系.

# Interfaces

No description provided by the author
过程当中的实体的可能的几种状态.
仓库是存放聚合的地方,聚合只会通过它的id来获取。仓库是一个接口,是为了清晰地罗列它的功能,除此之外没有其他特别的原因。泛型类型T代表聚合的类型,仓库创建的时候决定T的实际类型,例如:repoimpl.NewMemRepository(func() *Order { return &Order{} }) 这里创建了一个实际类型为“Order”的内存仓库repoimpl.NewMemRepository(func() *Product { return &Product{} }) 这里创建了一个实际类型为“Product”的内存仓库.
保存的是一个不存在于某个集合当中的独立的实体。只在内存中,如需从数据库加载初始数据,则在系统启动时完成加载.
No description provided by the author

# Type aliases

No description provided by the author