zoukankan      html  css  js  c++  java
  • 019- 搭建Go开发环境之在VSCode中安装GO插件

    1:配置环境变量

    GO111MODULE=on

    GOPATH=D:gopath

    GOPROXY=https://goproxy.io

     

    2:查看环境变量信息

     

    3:在VSCode中安装Go插件

     

    4:在VSCode中安装Go依赖包

    然后全选点击“OK”

    安装过程

    go.toolsGopath setting is not set. Using GOPATH D:gopath

    Installing 17 tools at D:gopathin in module mode.

      gocode

      gopkgs

      go-outline

      go-symbols

      guru

      gorename

      gotests

      gomodifytags

      impl

      fillstruct

      goplay

      godoctor

      dlv

      gocode-gomod

      godef

      goreturns

      golint

     

    Installing github.com/mdempsky/gocode SUCCEEDED

    Installing github.com/uudashr/gopkgs/v2/cmd/gopkgs SUCCEEDED

    Installing github.com/ramya-rao-a/go-outline SUCCEEDED

    Installing github.com/acroca/go-symbols SUCCEEDED

    Installing golang.org/x/tools/cmd/guru SUCCEEDED

    Installing golang.org/x/tools/cmd/gorename SUCCEEDED

    Installing github.com/cweill/gotests/... SUCCEEDED

    Installing github.com/fatih/gomodifytags SUCCEEDED

    Installing github.com/josharian/impl SUCCEEDED

    Installing github.com/davidrjenni/reftools/cmd/fillstruct SUCCEEDED

    Installing github.com/haya14busa/goplay/cmd/goplay SUCCEEDED

    Installing github.com/godoctor/godoctor SUCCEEDED

    Installing github.com/go-delve/delve/cmd/dlv SUCCEEDED

    Installing github.com/stamblerre/gocode SUCCEEDED

    Installing github.com/rogpeppe/godef SUCCEEDED

    Installing github.com/sqs/goreturns SUCCEEDED

    Installing golang.org/x/lint/golint SUCCEEDED

     

    All tools successfully installed. You are ready to Go :).

  • 相关阅读:
    云server之间实时文件同步和文件备份的最简单高效的免费方案
    小程序 通过栈的方式把,上个返回过的页面数据传到当前页面
    mpvue 实例
    mpvue配合less
    java随笔5 完整路径的应用
    java随笔4 java中接参整形转字符串
    java随笔2 变量类定义
    java随笔1 常用快捷键 补全和补全提示等
    对象(针对对象)
    事务的2种简单实例
  • 原文地址:https://www.cnblogs.com/yshyee/p/15329957.html
Copyright © 2011-2022 走看看