I want to use gometalinter on my local project, the problem is when I run it like gometalinter ./...
its inspect also the vendor
folder which I want to ignore, I try to find somthing and find this
gometalinter ./... -excludepkg ./vendor...
which doesnt help, also the vendor lib is inspected, any idea how to avoid it ?
如何检查golang代码并忽略供应商库
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- dongyongyu0789 2018-09-05 19:48关注
Per
gometalinter --help
:--vendor Enable vendoring support (skips 'vendor' directories and sets GO15VENDOREXPERIMENT=1).
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
- ¥30 数字电源对DSP芯片的具体要求
- ¥20 antv g6 折线边如何变为钝角
- ¥30 如何在Matlab或Python中 设置饼图的高度
- ¥15 nginx中的CORS策略应该如何配置
- ¥30 信号与系统实验:采样定理分析
- ¥100 我想找人帮我写Python 的股票分析代码,有意请加mathtao
- ¥20 Vite 打包的 Vue3 组件库,图标无法显示
- ¥15 php 同步电商平台多个店铺增量订单和订单状态
- ¥17 pro*C预编译“闪回查询”报错SCN不能识别