try writemodel

This commit is contained in:
adlerhurst
2020-11-20 17:03:17 +01:00
parent 609c4d4f24
commit 20f4fa56c5
12 changed files with 83 additions and 13 deletions
@@ -33,7 +33,3 @@ func (rm *ReadModel) Reduce() error {
}
return rm.ReadModel.Reduce()
}
//WriteModel is used to create events
// It has no computed fields and represents the data
type WriteModel ReadModel