mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #4611] [MERGED] client, pkg, server, test: replaced 'interface{}' with 'any' #5012
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5012
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
dev← Head:feature/interface-to-any📝 Commits (1)
2c73dbfclient, 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.