Skip to content

fix(codegen/golang): Fix detection of querier used packages #2708

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

Closed
wants to merge 1 commit into from
Closed

fix(codegen/golang): Fix detection of querier used packages #2708

wants to merge 1 commit into from

Conversation

pespantelis
Copy link

@pespantelis pespantelis commented Sep 6, 2023

Hey there! First of all, I want to drop a quick thank you for this awesome project, it's a blast working with it!

After the v1.21.0 release, I noticed that the querier.go file imports the time package, without any reference on that package.

This PR addresses the issue, but since I'm relatively new to this project, I'm not entirely certain if it's the ideal solution. Your feedback and guidance would be greatly appreciated!

Fixes #2707

@kyleconroy
Copy link
Collaborator

@pespantelis Could you build sqlc from main and verify that this has been fixed?

@pespantelis
Copy link
Author

@kyleconroy Yep, it works for my case. Thanks!

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.

Unused imports generated in querier interfaces.
2 participants