Bump pkglib to go1.22 version
This commit is contained in:
parent
84799afda2
commit
2d1f3e3819
9 changed files with 31 additions and 36 deletions
|
|
@ -88,7 +88,7 @@ func (prefixes *Prefixes) getLivePrefixes(ctx context.Context, server *phpx.Serv
|
|||
}
|
||||
|
||||
// filter out blocked prefixes
|
||||
return collection.Filter(pfs, func(uri string) bool { return !hasAnyPrefix(uri, blocks) }), nil
|
||||
return slices.DeleteFunc(pfs, func(uri string) bool { return hasAnyPrefix(uri, blocks) }), nil
|
||||
}
|
||||
|
||||
func (wisski *Prefixes) getAdapterPrefixes(ctx context.Context, server *phpx.Server) (pfs []string, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue