GO111MODULE=on 以后,下载的模块内容会缓存在 $GOPATH/pkg/mod 目录中:
GO111MODULE=on
$GOPATH/pkg/mod
使用以下命令可清空缓存:
go clean --modcache