Skip to content

Commit fde5009

Browse files
committed
fix headers
1 parent a7b07ca commit fde5009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ type Cacher[K any, V any] interface {
6161
}
6262
```
6363

64-
# Note on Cacher interface
64+
## Note on Cacher interface
6565

6666
* `memoize` require the cache interface to implement two simple `Load` and `Store` functions
6767
* So you can adapt any other caching library to `memoize`
6868
* This will give you a very powerful memoization patterns where you can store your cache in memory, file, remote system or have failovers with multiple layers of caching.
6969
* This also means `memoize` package will not remove any items from the cache, it's the cache implementation responsibility to manage it's size, TTL, and communication with remote systems
7070
* `memoize` comes with 1 concurrency safe implementation of the cache `Cache`, stored in memory and uses Go generics. packed by `sync.Map`
7171

72-
# Cache subpackage
72+
## Cache subpackage
7373

7474
* `memoize` include a subpackage `cache` which provides several implementations for the `Cacher` interface
7575
* `Cache` is a simple in-memory forever cacher
@@ -79,7 +79,7 @@ type Cacher[K any, V any] interface {
7979
> [!IMPORTANT]
8080
> This package is still being tested, use it with caution
8181
82-
# Brenchmarks
82+
## Brenchmarks
8383

8484
Each struct is tested with two benchmarks:
8585
* Sequencial executions

0 commit comments

Comments
 (0)