golang - `go get github.com/constabulary/gb/...`其中的`...`是什么意思?
本文介绍了golang - `go get github.com/constabulary/gb/...`其中的`...`是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
如题,go get github.com/constabulary/gb/...
中的...
是什么意思?go help get
查看了使用说明,但好像并没有相关说明。不解。
解决方案
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 .
这篇关于golang - `go get github.com/constabulary/gb/...`其中的`...`是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文