mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
Update dependencies (#333)
This commit is contained in:
@@ -168,8 +168,8 @@ func (s *inMemStorage) Remove(key string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *inMemStorage) WalkKeys(opts *storage.WalkKeysOptions) error {
|
||||
if opts == nil || opts.WalkFn == nil {
|
||||
func (s *inMemStorage) WalkKeys(opts storage.WalkKeysOptions) error {
|
||||
if opts.WalkFn == nil {
|
||||
return errors.New("invalid walkfn")
|
||||
}
|
||||
for key := range s.storage {
|
||||
|
Reference in New Issue
Block a user