summaryrefslogtreecommitdiff
path: root/internal/cache
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-01-17 14:54:30 +0000
committerLibravatar GitHub <noreply@github.com>2024-01-17 14:54:30 +0000
commit906639ad7eb92e9d631599f78979908930e59c84 (patch)
treedfef6d0a5ba47c49c214e4537a89dee6ad528df8 /internal/cache
parent[bugfix] Better Postgres search case insensitivity (#2526) (diff)
downloadgotosocial-906639ad7eb92e9d631599f78979908930e59c84.tar.xz
[chore] update viper version (#2539)
* update viper version * removes our last uses of the slice package * fix tests
Diffstat (limited to 'internal/cache')
-rw-r--r--internal/cache/slice.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/cache/slice.go b/internal/cache/slice.go
index bcc0b68cc..0a7a6ccdc 100644
--- a/internal/cache/slice.go
+++ b/internal/cache/slice.go
@@ -18,8 +18,9 @@
package cache
import (
+ "slices"
+
"codeberg.org/gruf/go-cache/v3/simple"
- "golang.org/x/exp/slices"
)
// SliceCache wraps a simple.Cache to provide simple loader-callback