• VSCode配置Go环境安装依赖github代码失败


    https://gitee.com/smallinsect/MyVSCode

    查看Go的GOPATH路径

    命令 go env

    上面链接里面有个src.rar文件,将里面的文件解压到%GOPATH%src路径下,我设置的GOPATH是d:Gogopath

     然后在这个文件路径打开终端,执行如下命令

    go install github.com/mdempsky/gocode
    go install github.com/uudashr/gopkgs/cmd/gopkgs
    go install github.com/ramya-rao-a/go-outline
    go install github.com/acroca/go-symbols
    go install golang.org/x/tools/cmd/guru
    go install golang.org/x/tools/cmd/gorename
    go install github.com/go-delve/delve/cmd/dlv
    go install github.com/stamblerre/gocode
    go install github.com/rogpeppe/godef
    go install github.com/sqs/goreturns
    go install golang.org/x/lint/golint

     安装完,VSCode就解决安装插件失败问题了

     执行Go代码,还需要做一些配置

  • 相关阅读:
    2020年-测试流程学习
    Jmeter接口测试2020(1)
    elk
    redis
    RabbitMQ
    memcache集群
    mysql安装
    mysql从的配置文件
    memcache
    keepalived
  • 原文地址:https://www.cnblogs.com/xuqiulin/p/14674437.html
Copyright © 2020-2023  润新知