Open www1981www opened 4 years ago
The author is from Bratislava, Slovakia. Are you sure he understand Chinese?
I wanted translate for you but I found myself don't understand what you were talking about.
The author is from Bratislava, Slovakia. Are you sure he understand Chinese?
I wanted translate for you but I found myself don't understand what you were talking about.
他说的是带有像// +build zookeeper
这样条件编译的代码的时候,tags 参数设置不生效
all the world is speaking chinese!!!
I can't even make sense what @xs-cw has commented, but here it is, the translation, to the best of my effort:
What he (@www1981www ) is talking about is that the tags parameter setting does not take effect (has no effect) when the code is conditionally compiled/built like/with
// +build zookeeper
.
What @www1981www originally said:
"在生成docker 代码daemon时,发现代码中有//+build daemon标记,go build 带tags 参数发现能走到对应分支,但是通过此工具时,发现没有走到对应的代码" translates:
When generating the docker daemon, if there is a
//+build daemon
tag in the code, go build with the tags parameter is able to find & go to the corresponding branch, but when using this tool, the corresponding code is not reached.
在生成docker 代码daemon时,发现代码中有//+build daemon标记,go build 带tags 参数发现能走到对应分支,但是通过此工具时,发现没有走到对应的代码