Go环境安装及GoIde安装

Go环境安装

  • 根据环境下载安装包
    https://golang.google.cn/dl/
    Go环境安装及GoIde安装
  • 按照提示进行安装即可

GoIde安装(windows 为例)

  • 下载压缩包
    https://github.com/visualfc/liteide/releases
    Go环境安装及GoIde安装
  • 解压压缩包,并打开 liteide.exe
    Go环境安装及GoIde安装
  • Hello world
    1.配置 GoPath
    工具 > 管理GOPAHT/Modules…
    Go环境安装及GoIde安装
    2.文件>新建>Empty File 名称 hello.go
    Go环境安装及GoIde安装
    3.编写hello world
    Go环境安装及GoIde安装
    注意:
    如果不配置GOPATH会报错:错误:进程无法启动.

相关文章: