`go get github.com/constabulary/gb/...`其中的`...`是什么意思?

voidint
  • 948

如题,go get github.com/constabulary/gb/...中的...是什么意思?go help get查看了使用说明,但好像并没有相关说明。不解。

回复
阅读 2.9k
1 个回答
✓ 已被采纳

see go help packages

An import path is a pattern if it includes one or more "..."
wildcards, each of which can match any string, including the empty
string and strings containing slashes. Such a pattern expands to all
package directories found in the GOPATH trees with names matching the
patterns . As a special case, x/... matches x as well as x's
subdirectories . For example, net/... expands to net and packages in
its subdirectories .

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏