mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-30 19:47:48 +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,
|
||
|
},
|
||
|
}
|
||
|
}
|