zzh@ZZHPC:~$ go env -w GO111MODULE=on
zzh@ZZHPC:~$ go env -w GOPROXY=https://goproxy.io,direct
If you're using VSCode, you can install Go tools as following:
View --> Command Palette
Input 'gotools'
Click OK.
An extension worths installing:
ZhangZhihui's Blog |
|
||
![]() |
|
博客园
|