mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:07:31 +00:00
chore: move the go code into a subfolder
This commit is contained in:
14
apps/api/internal/query/converter.go
Normal file
14
apps/api/internal/query/converter.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package query
|
||||
|
||||
import (
|
||||
"github.com/zitadel/zitadel/internal/domain"
|
||||
"github.com/zitadel/zitadel/internal/eventstore"
|
||||
)
|
||||
|
||||
func readModelToObjectDetails(model *eventstore.ReadModel) *domain.ObjectDetails {
|
||||
return &domain.ObjectDetails{
|
||||
Sequence: model.ProcessedSequence,
|
||||
ResourceOwner: model.ResourceOwner,
|
||||
EventDate: model.ChangeDate,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user