Skip to content

Problems loading module v1.0.1 #29

@asturm-fe

Description

@asturm-fe

Following the example in the gin-swagger README.md I tried to import the /swaggo/files module to use its Handler for serving the generated swagger documentation.
go get github.com/swaggo/files yields the version v1.0.1.
When I try to build my application, I get an error (?) that I cannot make any sense of:

pkg/api/api.go:14:2: open <MY HOME DIR>/go/pkg/mod/github.com/swaggo/[email protected]/b0xfile__swagger-ui-standalone-preset.js.go: timer expired
where pkg/api/api.go:14:2 is the line containing the import for the swaggo/files module.
Has anybody experienced similar behavior or can point me to what a timeout in this context even means?
The build command returns the above message instantly, so I dont think there is actually a timeout occuring. And the package is indeed present in the path stated in the message.

Downgrading to v1.0.0 solves the issue for me.

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