mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 09:37:45 +00:00
chore: move the go code into a subfolder
This commit is contained in:
23
apps/api/internal/eventstore/handler/v2/mock_test.go
Normal file
23
apps/api/internal/eventstore/handler/v2/mock_test.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package handler
|
||||
|
||||
var _ Projection = (*projection)(nil)
|
||||
|
||||
type projection struct {
|
||||
name string
|
||||
reducers []AggregateReducer
|
||||
}
|
||||
|
||||
// ActiveInstances implements [Projection]
|
||||
func (p *projection) ActiveInstances() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Name implements [Projection]
|
||||
func (p *projection) Name() string {
|
||||
return p.name
|
||||
}
|
||||
|
||||
// Reducers implements [Projection]
|
||||
func (p *projection) Reducers() []AggregateReducer {
|
||||
return p.reducers
|
||||
}
|
Reference in New Issue
Block a user