Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow store options override in Set() method
- Loading branch information
Showing
35 changed files
with
313 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
.PHONY: mocks | ||
|
||
mocks: | ||
# mocks | ||
mockery -case=snake -name=CacheInterface -dir=cache/ -output test/mocks/cache/ | ||
mockery -case=snake -name=CodecInterface -dir=codec/ -output test/mocks/codec/ | ||
mockery -case=snake -name=SetterCacheInterface -dir=cache/ -output test/mocks/cache/ | ||
mockery -case=snake -name=MetricsInterface -dir=metrics/ -output test/mocks/metrics/ | ||
mockery -case=snake -name=StoreInterface -dir=store/ -output test/mocks/store/ | ||
mockery -case=snake -name=BigcacheClientInterface -dir=store/ -output test/mocks/store/ | ||
mockery -case=snake -name=MemcacheClientInterface -dir=store/ -output test/mocks/store/ | ||
mockery -case=snake -name=RedisClientInterface -dir=store/ -output test/mocks/store/ | ||
mockery -case=snake -name=RistrettoClientInterface -dir=store/ -output test/mocks/store/ | ||
|
||
# in package store clients mocks | ||
mockery -case=snake -inpkg -name=BigcacheClientInterface -dir=store/ -output store/ | ||
mockery -case=snake -inpkg -name=MemcacheClientInterface -dir=store/ -output store/ | ||
mockery -case=snake -inpkg -name=RedisClientInterface -dir=store/ -output store/ | ||
mockery -case=snake -inpkg -name=RistrettoClientInterface -dir=store/ -output store/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.