Bump pkglib to go1.22 version
This commit is contained in:
parent
84799afda2
commit
2d1f3e3819
9 changed files with 31 additions and 36 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue