golang
  • Introduction
  • 环境安装
    • vscode
    • liteide
  • 第一个Go程序
  • Go项目结构
  • Go语言命令
  • 变量
  • 数据类型
    • array
    • slice
    • map
    • struct
    • interface
    • string
    • channel
    • 类型转换
  • 循环语句
  • HTTP编程
  • init函数
Powered by GitBook
On this page

Was this helpful?

  1. 环境安装

liteide

前提:已经安装好go

MacOS

1、下载archive包

http://www.golangtc.com/download/liteide

下载liteidex32.1.macosx-qt5.zip

2、解压

双击解压上面的zip包,然后会多出一个目录liteide

3、设置GOPATH环境变量

在~/.bash_profile中添加如下两行

export GOPATH=$HOME/Desktop/e/gopath
export PATH=$PATH:$GOPATH/bin

4、运行liteide

在上面的liteide目录下,有一个liteide的可执行文件。按住ctl,然后双击liteide,就可以打开

5、将liteide加入到dock以及启动台中

6、Reference

[1] https://blog.csdn.net/guoer9973/article/details/51704755

PreviousvscodeNext第一个Go程序

Last updated 5 years ago

Was this helpful?