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