-
Notifications
You must be signed in to change notification settings - Fork 59
Description
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.