You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this warning "warning: failed to get package name in dir: ./, error: execute go list command, exit status 1, stdout:, stderr:no Go files in go-lang/swagger-chi".
But my folder structure looks good and the command is correct I have tried to downgrade go version to 1.22.0
the warning disappeared
Expected behavior
I expect to not see the warning
Screenshots
Your swag version
e.g. 1.16.3
Your go version
e.g. 1.22.1
Desktop (please complete the following information):
OS: iOS
Browser: [e.g. chrome, safari]
Version: Sonoma 14.5
The text was updated successfully, but these errors were encountered:
If you don't specify the directory, swag will search the current directory. I think the behavior is correct and the message is a warning that doesn't affect swag generation.
Getting this warning "warning: failed to get package name in dir: ./, error: execute go list command, exit status 1, stdout:, stderr:no Go files in go-lang/swagger-chi".
But my folder structure looks good and the command is correct I have tried to downgrade go version to 1.22.0
the warning disappeared
Expected behavior
I expect to not see the warning
Screenshots
![Screenshot 2024-05-23 at 2 57 54 AM](https://private-user-images.githubusercontent.com/43452487/332983312-298b45fe-6bf6-4cea-bc4f-7a38fe8b8b8c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4NDQyNTcsIm5iZiI6MTcxOTg0Mzk1NywicGF0aCI6Ii80MzQ1MjQ4Ny8zMzI5ODMzMTItMjk4YjQ1ZmUtNmJmNi00Y2VhLWJjNGYtN2EzOGZlOGI4YjhjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDE0MjU1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRmNTJkNDc0NGUyMDU5MmNjMDFkMGQxMTBkOTY5NDAxZTE5MGYzYTIwZWU3MmE5MzgwZGI1Yzg3N2FhOTNiMmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mMLM1EWRB3uHfjs1C7Wlxdt_ego3QifetGEovOqZMY8)
Your swag version
e.g. 1.16.3
Your go version
e.g. 1.22.1
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: