mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-23 16:20:29 +00:00
17 lines
307 B
Go
17 lines
307 B
Go
package repository
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/backend/storage/database"
|
|
"github.com/zitadel/zitadel/backend/storage/eventstore"
|
|
)
|
|
|
|
type eventStore struct {
|
|
es *eventstore.Eventstore
|
|
}
|
|
|
|
func events(client database.Executor) *eventStore {
|
|
return &eventStore{
|
|
es: eventstore.New(client),
|
|
}
|
|
}
|