Skip to content

Commit

Permalink
Add indentation README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Composieux <vincent.composieux@gmail.com>
  • Loading branch information
akaushik759 and eko authored Jan 23, 2024
1 parent 180370f commit 9353dcc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,11 @@ value := cacheManager.Get(ctx, "my-key")

```go
import (
"github.com/dgraph-io/ristretto"
"github.com/eko/gocache/lib/v4/cache"
"github.com/eko/gocache/lib/v4/store"
ristretto_store "github.com/eko/gocache/store/ristretto/v4"
"github.com/dgraph-io/ristretto"
"github.com/eko/gocache/lib/v4/cache"
"github.com/eko/gocache/lib/v4/store"
ristretto_store "github.com/eko/gocache/store/ristretto/v4"
)

ristrettoCache, err := ristretto.NewCache(&ristretto.Config{
NumCounters: 1000,
MaxCost: 100,
Expand Down

0 comments on commit 9353dcc

Please sign in to comment.