#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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user