Bump pkglib to go1.22 version

This commit is contained in:
Tom Wiesing 2024-04-08 23:37:04 +02:00
parent 84799afda2
commit 2d1f3e3819
No known key found for this signature in database
9 changed files with 31 additions and 36 deletions

View file

@ -42,7 +42,7 @@ func (log *Logger) For(ctx context.Context, slug string) (exports []models.Expor
return nil, err
}
return collection.Filter(exports, func(s models.Export) bool {
return collection.KeepFunc(exports, func(s models.Export) bool {
return s.Slug == slug
}), nil
}