(db *sql.DB)
| 30 | } |
| 31 | |
| 32 | func NewSQLiteStore(db *sql.DB) *SQLiteStore { |
| 33 | return &SQLiteStore{db: db} |
| 34 | } |
| 35 | |
| 36 | func (s *SQLiteStore) Store(ctx context.Context, ev event.Event) error { |
| 37 | payload, _ := json.Marshal(json.RawMessage(ev.Payload)) |
no outgoing calls