update to latest golang.org/x dependencies

This commit is contained in:
Mechiel Lukkien
2025-04-16 20:01:32 +02:00
parent 1b2b152cb5
commit 805ae0d827
35 changed files with 1023 additions and 413 deletions

View File

@ -8,6 +8,7 @@ import (
"fmt"
"io"
"reflect"
"slices"
"unsafe"
)
@ -154,10 +155,8 @@ func (f *filter) Valid(index int) bool {
func (f *filter) Label(index int) Label {
l := f.underlying.Label(index)
for _, f := range f.keys {
if l.Key() == f {
return Label{}
}
if slices.Contains(f.keys, l.Key()) {
return Label{}
}
return l
}