#89 Adjust golangci-lint configuration

as it does not support generics at this moment.

See https://github.com/golangci/golangci-lint/issues/2649
This commit is contained in:
Maximilian Paß
2022-06-29 15:23:17 +02:00
parent 34040162c2
commit 275b6aa642
2 changed files with 5 additions and 1 deletions

View File

@ -97,7 +97,7 @@ func (s *localStorage[T]) Sample() (o T, ok bool) {
delete(s.objects, key)
return object, true
}
return
return o, false
}
func (s *localStorage[T]) Length() uint {