[PR #4611] [MERGED] client, pkg, server, test: replaced 'interface{}' with 'any' #5012

Closed
opened 2026-05-05 14:53:00 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4611
Author: @mihaigmarin
Created: 12/28/2024
Status: Merged
Merged: 1/2/2025
Merged by: @fatedier

Base: devHead: feature/interface-to-any


📝 Commits (1)

  • 2c73dbf client, pkg, server, test: replaced 'interface{}' with 'any'

📊 Changes

19 files changed (+77 additions, -77 deletions)

View changed files

📝 client/event/event.go (+1 -1)
📝 client/proxy/proxy_manager.go (+1 -1)
📝 pkg/config/legacy/client.go (+2 -2)
📝 pkg/config/legacy/server.go (+1 -1)
📝 pkg/config/load.go (+1 -1)
📝 pkg/msg/ctl.go (+1 -1)
📝 pkg/msg/msg.go (+1 -1)
📝 pkg/plugin/server/http.go (+1 -1)
📝 pkg/plugin/server/manager.go (+5 -5)
📝 pkg/plugin/server/plugin.go (+1 -1)
📝 pkg/plugin/server/types.go (+7 -7)
📝 pkg/util/log/log.go (+6 -6)
📝 pkg/util/vhost/router.go (+2 -2)
📝 pkg/util/xlog/xlog.go (+5 -5)
📝 server/dashboard_api.go (+17 -17)
📝 test/e2e/framework/expect.go (+16 -16)
📝 test/e2e/framework/log.go (+3 -3)
📝 test/e2e/framework/mockservers.go (+3 -3)
📝 test/e2e/framework/request.go (+3 -3)

📄 Description

WHY

For uniformity and because go 1.22.0 is used, I've replaced all 'interface{}' with the alias 'any'.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/4611 **Author:** [@mihaigmarin](https://github.com/mihaigmarin) **Created:** 12/28/2024 **Status:** ✅ Merged **Merged:** 1/2/2025 **Merged by:** [@fatedier](https://github.com/fatedier) **Base:** `dev` ← **Head:** `feature/interface-to-any` --- ### 📝 Commits (1) - [`2c73dbf`](https://github.com/fatedier/frp/commit/2c73dbfc7a8ded18b696eb25918340247adbd2fe) client, pkg, server, test: replaced 'interface{}' with 'any' ### 📊 Changes **19 files changed** (+77 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `client/event/event.go` (+1 -1) 📝 `client/proxy/proxy_manager.go` (+1 -1) 📝 `pkg/config/legacy/client.go` (+2 -2) 📝 `pkg/config/legacy/server.go` (+1 -1) 📝 `pkg/config/load.go` (+1 -1) 📝 `pkg/msg/ctl.go` (+1 -1) 📝 `pkg/msg/msg.go` (+1 -1) 📝 `pkg/plugin/server/http.go` (+1 -1) 📝 `pkg/plugin/server/manager.go` (+5 -5) 📝 `pkg/plugin/server/plugin.go` (+1 -1) 📝 `pkg/plugin/server/types.go` (+7 -7) 📝 `pkg/util/log/log.go` (+6 -6) 📝 `pkg/util/vhost/router.go` (+2 -2) 📝 `pkg/util/xlog/xlog.go` (+5 -5) 📝 `server/dashboard_api.go` (+17 -17) 📝 `test/e2e/framework/expect.go` (+16 -16) 📝 `test/e2e/framework/log.go` (+3 -3) 📝 `test/e2e/framework/mockservers.go` (+3 -3) 📝 `test/e2e/framework/request.go` (+3 -3) </details> ### 📄 Description ### WHY For uniformity and because go 1.22.0 is used, I've replaced all 'interface{}' with the alias 'any'. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:53:00 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5012
No description provided.