Skip to content

Commit

Permalink
feat: re init develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hokamsingh committed Oct 9, 2024
1 parent f90d153 commit 24df627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/core/middleware/cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ type Caching struct {
cacheControl bool
}

// new caching
func NewCaching(client *redis.Client, ttl time.Duration, cacheControl bool) *Caching {
return &Caching{
client: client,
Expand Down

0 comments on commit 24df627

Please sign in to comment.