summaryrefslogtreecommitdiff
path: root/internal/paging/util.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-09-12 14:00:35 +0100
committerLibravatar GitHub <noreply@github.com>2023-09-12 14:00:35 +0100
commit7293d6029b43db693fd170c0c087394339da0677 (patch)
tree09063243faf1b178fde35973486e311f66b1ca33 /internal/paging/util.go
parent[feature] Allow admins to expire remote public keys; refetch expired keys on ... (diff)
downloadgotosocial-7293d6029b43db693fd170c0c087394339da0677.tar.xz
[feature] add paging to account follows, followers and follow requests endpoints (#2186)
Diffstat (limited to 'internal/paging/util.go')
-rw-r--r--internal/paging/util.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/paging/util.go b/internal/paging/util.go
index d9adb9cbf..dd941dd88 100644
--- a/internal/paging/util.go
+++ b/internal/paging/util.go
@@ -41,9 +41,3 @@ func Reverse(in []string) []string {
return in
}
-
-// zero is a shorthand to check a generic value is its zero value.
-func zero[T comparable](t T) bool {
- var z T
- return t == z
-}