We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc38f95 commit 47fd617Copy full SHA for 47fd617
aggregate_root.go
@@ -3,8 +3,8 @@ package goengine
3
import (
4
"fmt"
5
6
+ "github.com/gofrs/uuid"
7
"github.com/hellofresh/goengine/reflection"
- "github.com/pborman/uuid"
8
)
9
10
type AggregateRoot interface {
@@ -24,7 +24,7 @@ type AggregateRootBased struct {
24
25
// NewAggregateRootBased constructor
26
func NewAggregateRootBased(source interface{}) *AggregateRootBased {
27
- return NewEventSourceBasedWithID(source, uuid.New())
+ return NewEventSourceBasedWithID(source, uuid.Must(uuid.NewV4()).String())
28
}
29
30
// NewEventSourceBasedWithID constructor
0 commit comments