From 2f582e2e33b2bae06e136bd2a547a934a6700074 Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Fri, 27 Sep 2024 10:26:50 +0000 Subject: update gruf / {go-cache, go-maps, go-kv} (#3361) --- vendor/codeberg.org/gruf/go-kv/format/util.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'vendor/codeberg.org/gruf/go-kv/format/util.go') diff --git a/vendor/codeberg.org/gruf/go-kv/format/util.go b/vendor/codeberg.org/gruf/go-kv/format/util.go index 79cb30981..dbb918952 100644 --- a/vendor/codeberg.org/gruf/go-kv/format/util.go +++ b/vendor/codeberg.org/gruf/go-kv/format/util.go @@ -98,8 +98,3 @@ func isNil(i interface{}) bool { type eface struct{ _type, data unsafe.Pointer } //nolint return (*(*eface)(unsafe.Pointer(&i))).data == nil //nolint } - -// b2s converts a byteslice to string without allocation. -func b2s(b []byte) string { - return *(*string)(unsafe.Pointer(&b)) -} -- cgit v1.2.3