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 <[email protected]>
  • 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.