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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

Relation issue
e.g. https://github.com/swaggo/swag/pull/118/files

Additional context
Add any other context about the problem here.

Fix #1929

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
1 participant