Enforce use of any instead of interface{} (#30588)

Этот коммит содержится в:
Ben Schumacher
2025-03-31 10:44:34 +02:00
коммит произвёл GitHub
родитель 9aa4818c71
Коммит 166a676fe5
78 изменённых файлов: 268 добавлений и 262 удалений

Просмотреть файл

@@ -68,8 +68,8 @@ type Session struct {
Local bool `json:"local" db:"-"`
}
func (s *Session) Auditable() map[string]interface{} {
return map[string]interface{}{
func (s *Session) Auditable() map[string]any {
return map[string]any{
"id": s.Id,
"create_at": s.CreateAt,
"expires_at": s.ExpiresAt,