summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-structr/index.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-08-14 12:08:24 +0000
committerLibravatar GitHub <noreply@github.com>2024-08-14 12:08:24 +0000
commitf8d5b9f49c150574442c2d30add41981ac67e97b (patch)
treee334c632223430673b422a2d8562b494c101d174 /vendor/codeberg.org/gruf/go-structr/index.go
parent[security] harden account update logic (#3198) (diff)
downloadgotosocial-f8d5b9f49c150574442c2d30add41981ac67e97b.tar.xz
update go-structr to v0.8.8 (#3199)
Diffstat (limited to 'vendor/codeberg.org/gruf/go-structr/index.go')
-rw-r--r--vendor/codeberg.org/gruf/go-structr/index.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/codeberg.org/gruf/go-structr/index.go b/vendor/codeberg.org/gruf/go-structr/index.go
index b1e05b9b9..8605cdb25 100644
--- a/vendor/codeberg.org/gruf/go-structr/index.go
+++ b/vendor/codeberg.org/gruf/go-structr/index.go
@@ -349,15 +349,15 @@ type index_entry struct {
// elem.data is ptr to index_entry.
elem list_elem
- // raw cache key
- // for this entry.
- key string
-
// index this is stored in.
index *Index
// underlying indexed item.
item *indexed_item
+
+ // raw cache key
+ // for this entry.
+ key string
}
var index_entry_pool sync.Pool