Replace interface{} with any (#2077)

This commit is contained in:
Philip O'Toole
2025-04-28 08:12:18 -04:00
committed by GitHub
parent 3351d60188
commit 9e7b3370f5
41 changed files with 211 additions and 211 deletions

View File

@@ -173,8 +173,8 @@ func (q *Queue[T]) Depth() int {
}
// Stats returns stats on this queue.
func (q *Queue[T]) Stats() (map[string]interface{}, error) {
return map[string]interface{}{
func (q *Queue[T]) Stats() (map[string]any, error) {
return map[string]any{
"max_size": q.maxSize,
"batch_size": q.batchSize,
"timeout": q.timeout.String(),