diff --git a/.github/workflows/gomobile.yml b/.github/workflows/gomobile.yml index 1fc5fa7..f0fbb89 100644 --- a/.github/workflows/gomobile.yml +++ b/.github/workflows/gomobile.yml @@ -132,7 +132,7 @@ jobs: mkdir -p /tmp/build gomobile init gomobile bind --target ios -o /tmp/build/Iden3mobile.framework - cd /tmp/build && zip Iden3mobile.framework.zip Iden3mobile.framework + cd /tmp/build && zip -r Iden3mobile.framework.zip Iden3mobile.framework - name: Release framework uses: actions/upload-release-asset@v1 diff --git a/go/iden3mobile/eventmanager.go b/go/iden3mobile/eventmanager.go index 113828f..252e19b 100644 --- a/go/iden3mobile/eventmanager.go +++ b/go/iden3mobile/eventmanager.go @@ -13,9 +13,11 @@ type eventToStore struct { Err string } +// Sender is an interface that sends events type Sender interface { Send(*Event) } + type EventManager struct { storage db.Storage eventsStorage *db.StorageList