Skip to content
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

Fix format by goimports #1927

Merged
merged 1 commit into from
Dec 12, 2024
Merged

Conversation

0daryo
Copy link
Contributor

@0daryo 0daryo commented Nov 21, 2024

Describe the PR
This PR formats the command outputs using goimports.

goimports is a popular tool among Go users for formatting code. The code generated by swag can sometimes conflict with the formatting expected by goimports. This PR addresses that problem by ensuring the swag-generated code is formatted using goimports.

Fix #1929

@sdghchj sdghchj merged commit 5bd4569 into swaggo:master Dec 12, 2024
10 checks 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.

Swag-generated code sometimes conflicts with the formatting expected by goimports
2 participants