{"id":190,"date":"2021-01-22T15:31:33","date_gmt":"2021-01-22T07:31:33","guid":{"rendered":"https:\/\/www.92k.xin\/?p=190"},"modified":"2021-01-22T15:31:34","modified_gmt":"2021-01-22T07:31:34","slug":"vscode%e4%b8%8b%e5%ae%8c%e5%96%84golang%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/www.92k.xin\/?p=190","title":{"rendered":"VSCode\u4e0b\u5b8c\u5584golang\u5de5\u5177"},"content":{"rendered":"\n

VSCode\u4e0b\u9762\u642d\u914dgolang\uff0c\u5f88\u591a\u5de5\u5177\u90fd\u88ab\u6321\u4f4f\u4e86\uff0c\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u884c\u5176\u5b9e\u5f88\u8f7b\u677e\u7684\u641e\u5b9a<\/p>\n\n\n\n

SET GO111MODULE=on\nSET GOPATH=%cd%\nSET GOPROXY=https:\/\/goproxy.cn,direct\ngo get github.com\/ramya-rao-a\/go-outline\ngo get github.com\/uudashr\/gopkgs\/v2\/cmd\/gopkgs\ngo get github.com\/ramya-rao-a\/go-outline\ngo get github.com\/cweill\/gotests\/...\ngo get github.com\/fatih\/gomodifytags\ngo get github.com\/josharian\/impl\ngo get github.com\/haya14busa\/goplay\/cmd\/goplay\ngo get github.com\/go-delve\/delve\/cmd\/dlv\ngo get golang.org\/x\/lint\/golint\ngo get golang.org\/x\/tools\/gopls<\/pre><\/div>\n\n\n\n

\u5176\u5b9e\u5c31\u662f\u7528\u6211\u4eec\u5f3a\u5927\u7684golang module + proxy\u529f\u80fd\u6765\u4e0b\u6765\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

VSCode\u4e0b\u9762\u642d\u914dgolang\uff0c\u5f88\u591a\u5de5\u5177\u90fd\u88ab\u6321\u4f4f\u4e86\uff0c\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u884c\u5176\u5b9e\u5f88\u8f7b\u677e\u7684\u641e\u5b9a SET GO111MOD… <\/p>\n