mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 01:43:40 +00:00
22 lines
342 B
Go
22 lines
342 B
Go
package pseudo
|
|
|
|
import "github.com/zitadel/zitadel/internal/eventstore"
|
|
|
|
const (
|
|
AggregateType = "pseudo"
|
|
AggregateVersion = "v1"
|
|
)
|
|
|
|
type Aggregate struct {
|
|
eventstore.Aggregate
|
|
}
|
|
|
|
func NewAggregate() *Aggregate {
|
|
return &Aggregate{
|
|
Aggregate: eventstore.Aggregate{
|
|
Type: AggregateType,
|
|
Version: AggregateVersion,
|
|
},
|
|
}
|
|
}
|