Try without cgo

This commit is contained in:
braginini
2022-12-27 17:13:45 +01:00
parent 0600df1217
commit 37b22de660
4 changed files with 21 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
package activity
type NoopEventStore struct {
}
func (store *NoopEventStore) Save(event *Event) (*Event, error) {
event.ID = -1
return event, nil
}
func (store *NoopEventStore) Get(accountID string, offset, limit int, descending bool) ([]*Event, error) {
return []*Event{}, nil
}
func (store *NoopEventStore) Close() error {
return nil
}