Skip to content

refactor: replace interface{} with any - #343

Closed
tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/replace-interface-with-any
Closed

tenthirtyam wants to merge 1 commit into
hashicorp:mainfrom
tenthirtyam:refactor/replace-interface-with-any

Conversation

@tenthirtyam

Copy link
Copy Markdown
Contributor

Description

Type declarations that use interface{} and are simplified by using any since any is an alias for interface{}.

Resolved Issues

Modernizes Go type declarations by using the equivalent any alias throughout the SDK.

Rollback Plan

Revert commit.

Changes to Security Controls

None.

@tenthirtyam
tenthirtyam requested a review from a team as a code owner July 24, 2026 03:28
@tenthirtyam
tenthirtyam force-pushed the refactor/replace-interface-with-any branch from e0c57a6 to 15fec00 Compare July 25, 2026 17:48
@tenthirtyam

Copy link
Copy Markdown
Contributor Author

Hi @tanmay-hc 👋🏻 ,

Could you run the CI again after my last push.

I had neglected to run make generate.

Ryan Johnson

@tenthirtyam
tenthirtyam force-pushed the refactor/replace-interface-with-any branch from 15fec00 to d9252d1 Compare August 12, 2026 18:10
@tenthirtyam
tenthirtyam force-pushed the refactor/replace-interface-with-any branch from d9252d1 to aa06c6d Compare September 9, 2026 13:50
@tenthirtyam

Copy link
Copy Markdown
Contributor Author

@tanmay-hc - rebased and ready for review.

Modernize Go type declarations by using the equivalent `any` alias throughout the SDK. Reports type declarations that use interface{} and can be simplified by using `any` since `any` is an alias for `interface{}`.

Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
@tenthirtyam

Copy link
Copy Markdown
Contributor Author

Superseded by the consolidated cleanup PR: #377. Closing this in favor of that PR per maintainer request.

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.

1 participant