fix mutation
This commit is contained in:
@@ -133,6 +133,9 @@ func main() {
|
|||||||
actor.NewMutation(AddVoucher, func() *messages.AddVoucher {
|
actor.NewMutation(AddVoucher, func() *messages.AddVoucher {
|
||||||
return &messages.AddVoucher{}
|
return &messages.AddVoucher{}
|
||||||
}),
|
}),
|
||||||
|
actor.NewMutation(RemoveVoucher, func() *messages.RemoveVoucher {
|
||||||
|
return &messages.RemoveVoucher{}
|
||||||
|
}),
|
||||||
)
|
)
|
||||||
diskStorage := actor.NewDiskStorage[CartGrain]("data", reg)
|
diskStorage := actor.NewDiskStorage[CartGrain]("data", reg)
|
||||||
poolConfig := actor.GrainPoolConfig[CartGrain]{
|
poolConfig := actor.GrainPoolConfig[CartGrain]{
|
||||||
|
|||||||
Reference in New Issue
Block a user