Skip to content

fix: Create an alias around ast.Package to fix lint #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2025

Conversation

3vilhamster
Copy link
Contributor

@3vilhamster 3vilhamster commented May 9, 2025

Fixing an issue of golangci-lint failing on usage of deprecated struct ast.Package.
As far as I can see, the usage could be avoided by simply introducing a minimal structure with Name and files.
Though the test scenario still requires the usage of ast.Object, I've added a comment to ignore the issue in the test.

@3vilhamster 3vilhamster changed the title fix: Create an alias around ast.Pacakge to fix lint fix: Create an alias around ast.Package to fix lint May 9, 2025
@hexdigest hexdigest merged commit aff4c05 into hexdigest:master May 13, 2025
1 check passed
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