Skip to content

warning: failed to get package name in dir: ./, error: execute go list command, exit status 1, stdout:, stderr:no Go files in #1811

@sarkis1231

Description

@sarkis1231

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions