Skip to content

Commit

Permalink
feat: new simplified version
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Jan 29, 2025
1 parent 5306957 commit d190b67
Show file tree
Hide file tree
Showing 11 changed files with 1,120 additions and 1,510 deletions.
14 changes: 14 additions & 0 deletions .mockery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
issue-845-fix: true
with-expecter: true
resolve-type-alias: false
dir: "{{ .InterfaceDir }}/mocks"
outpkg: "mocks"
filename: "mock_{{ .InterfaceName | snakecase | lower }}.go"
mockname: "{{ .InterfaceName }}"
packages:
github.com/Ethernal-Tech/blockchain-event-tracker/store:
config:
all: true
github.com/Ethernal-Tech/blockchain-event-tracker/tracker:
config:
all: true
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
COMMON_MOCKERY_PARAMS=--disable-version-string --with-expecter --exported

.PHONY: generate-mocks
generate-mocks:
mockery ${COMMON_MOCKERY_PARAMS}

.PHONY: check-go
check-go:
@which go > /dev/null || (echo "Go is not installed.. Please install and try again."; exit 1)
Expand Down
356 changes: 356 additions & 0 deletions store/mocks/mock_event_tracker_store.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added tracker/eventStore.db
Binary file not shown.
Loading

0 comments on commit d190b67

Please sign in to comment.