You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-31Lines changed: 11 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,10 @@
4
4
5
5
go-generics-cache is an in-memory key:value store/cache that is suitable for applications running on a single machine. This in-memory cache uses [Go Generics](https://go.dev/blog/generics-proposal) which will be introduced in 1.18.
6
6
7
+
- a thread-safe
7
8
- implemented with [Go Generics](https://go.dev/blog/generics-proposal)
8
-
- a thread-safe `map[string]interface{}` with expiration times
9
+
- Simple `map[string]interface{}` with expiration times
10
+
- See [examples](https://github.com/Code-Hex/go-generics-cache/blob/main/simple/example_test.go)
9
11
- LRU cache
10
12
- See [examples](https://github.com/Code-Hex/go-generics-cache/blob/main/lru/example_test.go)
11
13
@@ -30,8 +32,6 @@ go version devel go1.18-c2397905e0 Sat Nov 13 03:33:55 2021 +0000 darwin/arm64
30
32
31
33
See also [examples](https://github.com/Code-Hex/go-generics-cache/blob/main/example_test.go)
0 commit comments