apputil

package
v0.0.0-...-270b7bf Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateAggregate

func CreateOrUpdateAggregate(isCreateAction bool, store es.EventStore, id domain.AggregateIdentity, state domain.AggregateState, agg domain.Aggregate, action func(agg domain.Aggregate) error)

创建或更新聚合,并持久化到事件存储中 isCreateAction:是否为创建操作 store:事件存储 id:聚合标识 state:聚合状态 agg:聚合 action:创建或更新聚合的操作

Types

This section is empty.

Jump to

Keyboard shortcuts

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