mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-20 21:47:35 +00:00
20 lines
354 B
Go
20 lines
354 B
Go
package repository
|
|
|
|
import "github.com/zitadel/zitadel/backend/storage/database"
|
|
|
|
type executor struct {
|
|
client database.Executor
|
|
}
|
|
|
|
func execute(client database.Executor) *executor {
|
|
return &executor{client: client}
|
|
}
|
|
|
|
type querier struct {
|
|
client database.Querier
|
|
}
|
|
|
|
func query(client database.Querier) *querier {
|
|
return &querier{client: client}
|
|
}
|