Skip to content

Commit

Permalink
update cache mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
agungdwiprasetyo committed Dec 5, 2024
1 parent f9f8aca commit dd8a59a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
1 change: 1 addition & 0 deletions codebase/interfaces/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ type Cache interface {
Set(ctx context.Context, key string, value any, expire time.Duration) error
Exists(ctx context.Context, key string) (bool, error)
Delete(ctx context.Context, key string) error
DoCommand(ctx context.Context, isWrite bool, command string, args ...any) (reply any, err error)
}
39 changes: 36 additions & 3 deletions mocks/codebase/interfaces/Cache.go

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

0 comments on commit dd8a59a

Please sign in to comment.