-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
migrate to go.mod #111
migrate to go.mod #111
Conversation
e7625d6
to
066ace7
Compare
The swagger spec generation sadly doesn't support go modules. We have to workaround this problem. In the Makefile execute the swagger executable without go modules:
After this the swagger executable will still not find the dependencies because they aren't on the gopath. So we somehow need to get the go mod dependencies there. The easiest solution I've found so far is to fill the vendor folder. So executing |
Yeah, I think it would be good to write both commands in Makefile |
Codecov Report
@@ Coverage Diff @@
## master #111 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 26 26
Lines 806 806
=====================================
Hits 806 806 Continue to review full report at Codecov.
|
e072627
to
eba1858
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This PR migrated dependency management system from dep to go.mod