summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar K <git@k47.cz>2023-09-23 16:42:34 +0000
committerLibravatar GitHub <noreply@github.com>2023-09-23 18:42:34 +0200
commit1b848aa1e52ac2455c8f2f45e30a20a8e34a7179 (patch)
tree648e3ae8aa4fe396dd3e6c419c8b0dce390b9965
parent[docs] ahs article milestone a (#2218) (diff)
downloadgotosocial-1b848aa1e52ac2455c8f2f45e30a20a8e34a7179.tar.xz
[chore] fix typo in slice.go (#2219)
-rw-r--r--internal/cache/slice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cache/slice.go b/internal/cache/slice.go
index 5e7fa6ce1..bcc0b68cc 100644
--- a/internal/cache/slice.go
+++ b/internal/cache/slice.go
@@ -22,7 +22,7 @@ import (
"golang.org/x/exp/slices"
)
-// SliceCache wraps a ttl.Cache to provide simple loader-callback
+// SliceCache wraps a simple.Cache to provide simple loader-callback
// functions for fetching + caching slices of objects (e.g. IDs).
type SliceCache[T any] struct {
*simple.Cache[string, []T]