Enforce use of any instead of interface{} (#30588)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9aa4818c71
Коммит
166a676fe5
@@ -47,8 +47,8 @@ type UploadSession struct {
|
||||
ReqFileId string `json:"req_file_id"`
|
||||
}
|
||||
|
||||
func (us *UploadSession) Auditable() map[string]interface{} {
|
||||
return map[string]interface{}{
|
||||
func (us *UploadSession) Auditable() map[string]any {
|
||||
return map[string]any{
|
||||
"id": us.Id,
|
||||
"type": us.Type,
|
||||
"user_id": us.UserId,
|
||||
|
||||
Ссылка в новой задаче
Block a user