go语言开启go module

export GO111MODULE=on   //linux 、MAC

set GO111MODULE=on   //Windows
原文地址:https://www.cnblogs.com/tonyzt/p/11333742.html