Skip to content

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

Merged
AskAlexSharov merged 1 commit into
erigontech:mainfrom
zhetaicheleba:use_any_cmd
Jan 6, 2026
Merged

refactor: replace interface{} with any for clarity and modernization#18447
AskAlexSharov merged 1 commit into
erigontech:mainfrom
zhetaicheleba:use_any_cmd

Conversation

@zhetaicheleba

Copy link
Copy Markdown
Contributor

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: zhetaicheleba <taicheleba@outlook.com>
@zhetaicheleba

Copy link
Copy Markdown
Contributor Author

@AskAlexSharov Thanks for your review! If there's anything need I to do, please feel free to let me know.

@AskAlexSharov AskAlexSharov merged commit ca54056 into erigontech:main Jan 6, 2026
16 checks passed
AskAlexSharov pushed a commit that referenced this pull request Feb 6, 2026
…18977)

Inspired by #18447 and replace
more.

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](https://go.dev/doc/go1.18#language):
This improves readability and aligns the codebase with modern Go
conventions.

Signed-off-by: slightsharp <slightsharp@outlook.com>
AskAlexSharov pushed a commit that referenced this pull request Feb 6, 2026
…18978)

Inspired by #18447 and replace
more.

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](https://go.dev/doc/go1.18#language):
This improves readability and aligns the codebase with modern Go
conventions.

Signed-off-by: slightsharp <slightsharp@outlook.com>
Giulio2002 pushed a commit that referenced this pull request Feb 6, 2026
…18977)

Inspired by #18447 and replace
more.

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](https://go.dev/doc/go1.18#language):
This improves readability and aligns the codebase with modern Go
conventions.

Signed-off-by: slightsharp <slightsharp@outlook.com>
Giulio2002 pushed a commit that referenced this pull request Feb 6, 2026
…18978)

Inspired by #18447 and replace
more.

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](https://go.dev/doc/go1.18#language):
This improves readability and aligns the codebase with modern Go
conventions.

Signed-off-by: slightsharp <slightsharp@outlook.com>
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.

2 participants