removed intermediate /internal directory
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// Code generated by concurry DO NOT EDIT.
|
||||
// https://github.com/angelbeltran/concurry
|
||||
// concurry
|
||||
package raw_events
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type StoreWithContext struct {
|
||||
ctx context.Context
|
||||
*Store
|
||||
}
|
||||
|
||||
func NewStoreWithContext(ctx context.Context, v *Store) *StoreWithContext {
|
||||
return &StoreWithContext{
|
||||
ctx: ctx,
|
||||
Store: v,
|
||||
}
|
||||
}
|
||||
|
||||
func (v_ctx *StoreWithContext) Save(e *Event) error {
|
||||
return v_ctx.Store.Save(v_ctx.ctx, e)
|
||||
}
|
||||
|
||||
func (v_ctx *StoreWithContext) LoadEventsForStore(platform string, storeID string) ([]Event, error) {
|
||||
return v_ctx.Store.LoadEventsForStore(v_ctx.ctx, platform, storeID)
|
||||
}
|
||||
Reference in New Issue
Block a user