-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failing to build the binary when Swagger dependencies is added #894
Comments
By the way, v1.7.0 has a bug, v1.6.9 recommended. |
@sdghchj Thaks for your reply. What is this bug in v1.7.0 you are referring to? I am using https://github.com/swaggo/http-swagger/blob/master/go.mod and is referencing v1.7.0 so no option to downgrade really. |
I am closing this issue. I tried with the golang
|
Refer to #854 v1.7.0 can be imported, but swag tool has a bug. |
Describe the bug
I have added swagger dependency into my project but I am no longer able to build the GO binary and eventually failing to build the docker image - see the content of my Dockerfile below
To Reproduce
Build a docker image with this Dockerfile
Expected behaviour
It should successfully build
Error
Screenshots
go.mod file
go.sum
Your swag version
e.g. 1.7.0
Your go version
1.16.0
Desktop (please complete the following information):
-Mac OS : I can build fine.
The text was updated successfully, but these errors were encountered: