From adf345f1ec0cb76a0df94a4505143d891659cba9 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:03:40 +0100 Subject: [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> --- vendor/codeberg.org/gruf/go-structr/hash_32.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 vendor/codeberg.org/gruf/go-structr/hash_32.go (limited to 'vendor/codeberg.org/gruf/go-structr/hash_32.go') diff --git a/vendor/codeberg.org/gruf/go-structr/hash_32.go b/vendor/codeberg.org/gruf/go-structr/hash_32.go deleted file mode 100644 index 883a3a174..000000000 --- a/vendor/codeberg.org/gruf/go-structr/hash_32.go +++ /dev/null @@ -1,14 +0,0 @@ -//go:build structr_32bit_hash -// +build structr_32bit_hash - -package structr - -// Hash is the current compiler -// flag defined cache key hash -// checksum type. Here; uint32. -type Hash uint32 - -// uint64ToHash converts uint64 to currently Hash type. -func uint64ToHash(u uint64) Hash { - return Hash(u >> 32) -} -- cgit v1.2.3