mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-10-11 20:29:04 +02:00
chore(deps): update golangci-lint (#1833)
This commit is contained in:
@@ -3,10 +3,10 @@ package middleware
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
"reflect"
|
||||
"strconv"
|
||||
"strings"
|
||||
"time"
|
||||
"unicode"
|
||||
@@ -254,7 +254,7 @@ func formatRetryAfter(retryAfter time.Duration) string {
|
||||
seconds = 1
|
||||
}
|
||||
|
||||
return fmt.Sprintf("%d", seconds)
|
||||
return strconv.Itoa(seconds)
|
||||
}
|
||||
|
||||
func capitalizeFirst(message string) string {
|
||||
|
||||
Reference in New Issue
Block a user