mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
bump go-structr to v0.8.5 to improve memory usage (#2955)
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user