diff options
author | 2024-04-02 11:03:40 +0100 | |
---|---|---|
committer | 2024-04-02 12:03:40 +0200 | |
commit | adf345f1ec0cb76a0df94a4505143d891659cba9 (patch) | |
tree | e0cca289c0a50f30191d4b65a2c336704570e470 /vendor/codeberg.org/gruf/go-structr/hash_64.go | |
parent | [feature] Option to hide followers/following (#2788) (diff) | |
download | gotosocial-adf345f1ec0cb76a0df94a4505143d891659cba9.tar.xz |
[chore] bump go structr cache version -> v0.6.0 (#2773)
* update go-structr library -> v0.6.0, add necessary wrapping types + code changes to support these changes
* update readme with go-structr package changes
* improved wrapping of the SliceCache type
* add code comments for the cache wrapper types
* remove test.out :innocent:
---------
Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
Diffstat (limited to 'vendor/codeberg.org/gruf/go-structr/hash_64.go')
-rw-r--r-- | vendor/codeberg.org/gruf/go-structr/hash_64.go | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/codeberg.org/gruf/go-structr/hash_64.go b/vendor/codeberg.org/gruf/go-structr/hash_64.go deleted file mode 100644 index 5462c340e..000000000 --- a/vendor/codeberg.org/gruf/go-structr/hash_64.go +++ /dev/null @@ -1,14 +0,0 @@ -//go:build !structr_32bit_hash && !structr_48bit_hash -// +build !structr_32bit_hash,!structr_48bit_hash - -package structr - -// Hash is the current compiler -// flag defined cache key hash -// checksum type. Here; uint64. -type Hash uint64 - -// uint64ToHash converts uint64 to currently Hash type. -func uint64ToHash(u uint64) Hash { - return Hash(u) -} |