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

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

阅读 4k
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 .

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