Comments (5)
这种放置代码的方式,是有啥背景吗? 感觉挺奇怪的
from goc.
回复楼上,我们公司就有这种的在cmd/目录下多个main函数,然后是一个仓库,可以分多个服务运行。不同服务,跑不同的main函数。所以楼主这个应该也涉及这种,服务部署都没问题,就是需要哪个main,就把那个main移出来,然后goc build 就ok了
from goc.
@CarlJi 我们也是一样的问题,goc build -o不允许指定具体的main包进行编译吗,只能cd到main包所在的目录下,然后goc自己去搜索main包,然后编译吗,如果这个目录下有多个main包,就会出现楼主上面的那个报错
from goc.
hi,这种问题,你们是如何解决适配的?
from goc.
@CarlJi 我们也是一样的问题,goc build -o不允许指定具体的main包进行编译吗,只能cd到main包所在的目录下,然后goc自己去搜索main包,然后编译吗,如果这个目录下有多个main包,就会出现楼主上面的那个报错
请问你们是如何解决的呢最后
from goc.
Related Issues (20)
- 请教下同一个版本内发布了多次代码,如何统计全量的覆盖率 HOT 5
- 请问: goc是否支持分支覆盖率统计
- 对于打包镜像和部署容器非同一个的情况
- 公司内部服务统一了出口ip,有什么解决办法吗
- goc build --center=<远程goc server>成功后,没有生成xx_profile_listen_addr文件。 HOT 2
- goc build --singleton 时 如何获取coverage file HOT 1
- FATA Fail to build: fail to generate new go.mod: ... invalid go version '1.22.0': must match format 1.23 HOT 2
- goc运行大概8天就会重启一次,重启时的日志如下
- dump 代码覆盖率报错 HOT 4
- 重命名的文件,会被merge一起 HOT 2
- goc clear清理覆盖率失败了
- @CarlJi 我们也是一样的问题,goc build -o不允许指定具体的main包进行编译吗,只能cd到main包所在的目录下,然后goc自己去搜索main包,然后编译吗,如果这个目录下有多个main包,就会出现楼主上面的那个报错 HOT 3
- goc 目前支持1.19吗 HOT 1
- 是否支持 Pull Request 增量代码覆盖率? HOT 3
- 希望支持go版本1.20~1.23,Thanks! HOT 4
- 注册失败 dial tcp 127.0.0.1:8888: connect: connection refused, response: HOT 1
- goc profile 返回 no profiles HOT 1
- 收集到行覆盖,分支覆盖都是 0
- gocv2 支持go1.21吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goc.