本文摘自网络,作者,侵删。
go mod
download download modules to local cache
edit edit go.mod from tools or scripts
graph print module requirement graph
init initialize new moduleincurrent directory
tidy add missing and remove unused modules
vendor make vendored copy of dependencies
verify verify dependencies have expected content
why explain why packages or modules are needed
本文来自:简书
感谢作者:qyoyoz
查看原文:golang module command
相关阅读 >>
更多相关阅读请进入《Go》频道 >>
Go语言101
一个与时俱进的Go编程知识库。