diff options
author | 2023-09-12 14:00:35 +0100 | |
---|---|---|
committer | 2023-09-12 14:00:35 +0100 | |
commit | 7293d6029b43db693fd170c0c087394339da0677 (patch) | |
tree | 09063243faf1b178fde35973486e311f66b1ca33 /internal/paging/util.go | |
parent | [feature] Allow admins to expire remote public keys; refetch expired keys on ... (diff) | |
download | gotosocial-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.go | 6 |
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 -} |