go env查看环境变量
1、GO111MODULE 如果为off,则在pkg目录下
2、GO111MODULE如果为on,则在src目录下
参考:
https://blog.csdn.net/qq_43442524/article/details/104906475