如果我有这个文件:
package main
import "github.com/dinedal/textql/storage"
我可以使用以下之一列出依赖项:
go list -deps
go mod graph
但是,如果我有这个文件:
package main
import "github.com/dinedal/textql"
未列出所有依赖项。例如,查看mod文件,现在没有列出下面的软件包。最后,我尝试了这个,并得到了一个有趣的结果:require
PS C:\> go list -deps github.com/dinedal/textql
go: finding module for package github.com/dinedal/textql
module github.com/dinedal/textql@latest found
(v0.0.0-20200608170856-250cf763f52c), but does not contain package
github.com/dinedal/textql
qq_遁去的一_1
相关分类