mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 12:02:24 -06:00
[chore]: Bump codeberg.org/gruf/go-structr from 0.9.6 to 0.9.7
Bumps codeberg.org/gruf/go-structr from 0.9.6 to 0.9.7. --- updated-dependencies: - dependency-name: codeberg.org/gruf/go-structr dependency-version: 0.9.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
c803620531
commit
9fbf156a42
6 changed files with 45 additions and 23 deletions
5
vendor/codeberg.org/gruf/go-structr/index.go
generated
vendored
5
vendor/codeberg.org/gruf/go-structr/index.go
generated
vendored
|
|
@ -1,6 +1,7 @@
|
|||
package structr
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
|
@ -222,10 +223,10 @@ func (i *Index) get(key string, hook func(*indexed_item)) {
|
|||
func (i *Index) key(buf *byteutil.Buffer, parts []unsafe.Pointer) string {
|
||||
buf.B = buf.B[:0]
|
||||
if len(parts) != len(i.fields) {
|
||||
panicf("incorrect number key parts: want=%d received=%d",
|
||||
panic(fmt.Sprintf("incorrect number key parts: want=%d received=%d",
|
||||
len(i.fields),
|
||||
len(parts),
|
||||
)
|
||||
))
|
||||
}
|
||||
if !allow_zero(i.flags) {
|
||||
for x, field := range i.fields {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue