29 lines
608 B
Go
29 lines
608 B
Go
// 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)
|
|
}
|