“go install ./…” 在 Go 语言中的意思是什么?

huangapple go评论88阅读模式
英文:

what does "./..." in "go install ./..." mean in go language?

问题

我是Go的初学者。
我尝试编译一个Go项目,但是我找不到任何解释"/..."的文档或文章。

cd ~/src/ephenation-server
go install -v ./...

等待您的帮助。

英文:

I am a beginner of go.
I tried to compile a go project, but I can not find any doc or article explaning "/...".

cd ~/src/ephenation-server
go install -v ./...

Waiting for your help.

答案1

得分: 7

The go command interprets example/path/... as example/path/ and all subdirectories. You might want to read the section, Description of package lists, on how go finds your packages..

英文:

The go command interprets example/path/... as example/path/ and all subdirectories. You might want to read the section, Description of package lists, on how go finds your packages..

huangapple
  • 本文由 发表于 2012年10月26日 17:31:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/13084317.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定