-
Notifications
You must be signed in to change notification settings - Fork 133
feat: 使用mod=vendor时候不应该更新go.mod文件 #237
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
Conversation
|
/assign @memoryliu |
fix code style
change err name
|
/assign @lyyyuna |
|
Thanks for your PR @socket515 /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CarlJi, socket515 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report
@@ Coverage Diff @@
## master #237 +/- ##
==========================================
+ Coverage 68.48% 71.17% +2.69%
==========================================
Files 34 34
Lines 1745 2009 +264
==========================================
+ Hits 1195 1430 +235
- Misses 445 471 +26
- Partials 105 108 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
使用
go build -mod=vendor编译的时候,不应该去更新go.mod文件, 因为相关依赖都在vendor文件里了,如果更新了go.mod文件会导致vendor目录和go.mod文件内容不一致