Skip to content

refactor: replace interface{} with any for clarity and modernization#7571

Open
tsinglua wants to merge 1 commit intocaddyserver:masterfrom
tsinglua:master
Open

refactor: replace interface{} with any for clarity and modernization#7571
tsinglua wants to merge 1 commit intocaddyserver:masterfrom
tsinglua:master

Conversation

@tsinglua
Copy link

@tsinglua tsinglua commented Mar 16, 2026

Assistance Disclosure

No AI was used.

This change replaces occurrences of interface{} with the predeclared identifier any, introduced in Go 1.18 as an alias for interface{}.

As noted in the Go 1.18 Release Notes:
This improves readability and aligns the codebase with modern Go conventions.

Signed-off-by: tsinglua <tsinglua@outlook.com>
@CLAassistant
Copy link

CLAassistant commented Mar 16, 2026

CLA assistant check
All committers have signed the CLA.

@mohammed90
Copy link
Member

mohammed90 commented Mar 16, 2026

You seem to have overwritten the LLM disclosure. Please disclose use of AI, if any.

@tsinglua
Copy link
Author

You seem to have overwritten the LLM disclosure. Please disclose use of AI, if any.

Oh. Thanks for your notice.

Modified. No AI was used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants