mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 08:22:24 -05:00
bump go-structr to v0.8.5 to improve memory usage (#2955)
This commit is contained in:
parent
addaba05c0
commit
6ed6824d5d
7 changed files with 45 additions and 63 deletions
4
vendor/codeberg.org/gruf/go-structr/key.go
generated
vendored
4
vendor/codeberg.org/gruf/go-structr/key.go
generated
vendored
|
|
@ -22,7 +22,7 @@ func (k Key) Key() string {
|
|||
|
||||
// Equal returns whether keys are equal.
|
||||
func (k Key) Equal(o Key) bool {
|
||||
return k.key == o.key
|
||||
return (k.key == o.key)
|
||||
}
|
||||
|
||||
// Value returns the raw slice of
|
||||
|
|
@ -33,7 +33,7 @@ func (k Key) Values() []any {
|
|||
|
||||
// Zero indicates a zero value key.
|
||||
func (k Key) Zero() bool {
|
||||
return k.raw == nil
|
||||
return (k.raw == nil)
|
||||
}
|
||||
|
||||
var buf_pool sync.Pool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue