mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 07:57:29 -06:00
[chore] bump go-structr to v0.9.9 (#4390)
this improves handling of zero value keys. not something we bump into often, but a useful fix to have in place. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4390 Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
parent
a79f83cbde
commit
383e41e3e5
6 changed files with 42 additions and 22 deletions
2
vendor/codeberg.org/gruf/go-structr/README.md
generated
vendored
2
vendor/codeberg.org/gruf/go-structr/README.md
generated
vendored
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
A library with a series of performant data types with automated struct value indexing. Indexing is supported via arbitrary combinations of fields, and in the case of the cache type, negative results (errors!) are also supported.
|
||||
|
||||
Under the hood, go-structr maintains a hashmap per index, where each hashmap is a hashmap keyed by serialized input key type. This is handled by the incredibly performant serialization library [go-mangler/v2](https://codeberg.org/gruf/go-mangler), which at this point in time supports *most* arbitrary types (other than channels, functions), so feel free to index by by almost *anything*!
|
||||
Under the hood, go-structr maintains a hashmap per index, where each hashmap is keyed by serialized input key. This is handled by the incredibly performant serialization library [go-mangler/v2](https://codeberg.org/gruf/go-mangler), which at this point in time supports all concrete types, so feel free to index by by *almost* anything!
|
||||
|
||||
See the [docs](https://pkg.go.dev/codeberg.org/gruf/go-structr) for more API information.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue