前提 对于Go的版本管理主要用过 glide,下面介绍 Go 1.11 之后官方支持的版本管理工具 mod。 关于 mod 官方给出了三个命令 go help mod、go help modules、go