当前位置:网站首页>Go language-1-development environment configuration
Go language-1-development environment configuration
2022-07-05 10:42:00 【hahyyy】
Catalog
Linux Platform installation Go
Use Linux, You can quickly install in the following ways
Windows Platform installation Go
Add the installation path to the environment variable
download Vim Configuration tool
Get into lexVim Catalog , download go ide The required binaries
Windows platform GoLand install
Windows platform APIPOST install
Go install
Go There are many ways to install , such as Go Source code installation 、Go Standard package installation 、 Third party tools (yum、apt-get etc. ) install
Two environment variables :
- GOROOT:GOROOT Namely Go Installation path for
- GOPATH:GOPATH It is used as the storage destination and import Search path at package time ( In fact, it is also a working directory )
Linux Platform installation Go
Use Linux, You can quickly install in the following ways
Set the environment variable
stay ~/.bashrc Add GOPATH Variable
vim ~/.bashrc
After adding --> source ~/.bashrc
Check
Mac Platform installation Go
Windows Platform installation Go
download
Download path :https://golang.google.cn/dl/go1.18.3.windows-amd64.msi
install msi file
Add the installation path to the environment variable
Such as :go The installation to C:\Program Files\Go Catalog , Then add the environment variable GOPATH: C:\Program Files\Go\
And will %GOPATH%\bin Add to PATH
Check
IDE install
Vim yes Linux The most basic tool developed under , You can configure a Vim IDE. We can use open source installation tools , Here, you can directly use this tool to realize one click configuration .
download Vim Configuration tool
$ git clone https://github.com/lexkong/lexVim
Get into lexVim Catalog , download go ide The required binaries
$ cd lexVim
$ git clone https://github.com/lexkong/vim-go-ide-bin
Start the installation script
$ ./start_vim.sh
Windows platform GoLand install
Download address :https://www.jetbrains.com/go/
You can try 30 Days or self cracking
Test tool installation
Linux platform Curl Tools
install curl
Usage method
https://www.ruanyifeng.com/blog/2011/09/curl.html
https://www.ruanyifeng.com/blog/2019/09/curl-reference.html
Windows platform APIPOST install
Download address :https://www.apipost.cn/?utm_source=10039&bd_vid=10756414022759907776
There is no special need, just install it in the next step
边栏推荐
- 小程序框架Taro
- Learning Note 6 - satellite positioning technology (Part 1)
- Glide Mastery
- 【黑马早报】罗永浩回应调侃东方甄选;董卿丈夫密春雷被执行超7亿;吉利正式收购魅族;华为发布问界M7;豆瓣为周杰伦专辑提前开分道歉...
- Learning note 4 -- Key Technologies of high-precision map (Part 2)
- How can non-technical departments participate in Devops?
- Go项目实战—参数绑定,类型转换
- 2022年T电梯修理操作证考试题及答案
- Web3基金会「Grant计划」赋能开发者,盘点四大成功项目
- [JS] array dimensionality reduction
猜你喜欢
csdn软件测试入门的测试基本流程
【黑马早报】罗永浩回应调侃东方甄选;董卿丈夫密春雷被执行超7亿;吉利正式收购魅族;华为发布问界M7;豆瓣为周杰伦专辑提前开分道歉...
Atcoder beginer contest 254 "e BFS" f st table maintenance differential array GCD "
Go-3-第一个Go程序
How did automated specification inspection software develop?
How to plan the career of a programmer?
微信核酸检测预约小程序系统毕业设计毕设(6)开题答辩PPT
LSTM应用于MNIST数据集分类(与CNN做对比)
Pseudo class elements -- before and after
Secteur non technique, comment participer à devops?
随机推荐
C语言实现QQ聊天室小项目 [完整源码]
2022年危险化学品经营单位主要负责人特种作业证考试题库及答案
【黑马早报】罗永浩回应调侃东方甄选;董卿丈夫密春雷被执行超7亿;吉利正式收购魅族;华为发布问界M7;豆瓣为周杰伦专辑提前开分道歉...
SAP ui5 objectpagelayout control usage sharing
2022鹏城杯web
2022年T电梯修理操作证考试题及答案
How do programmers live as they like?
微信核酸检测预约小程序系统毕业设计毕设(8)毕业设计论文模板
请问postgresql cdc 怎么设置单独的增量模式呀,debezium.snapshot.mo
WorkManager的学习二
Implementation of wechat applet bottom loading and pull-down refresh
微信核酸检测预约小程序系统毕业设计毕设(6)开题答辩PPT
LSTM应用于MNIST数据集分类(与CNN做对比)
Nine degrees 1480: maximum ascending subsequence sum (dynamic programming idea for the maximum value)
In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
Learning II of workmanager
Today in history: the first e-book came out; The inventor of magnetic stripe card was born; The pioneer of handheld computer was born
WorkManager学习一
手机厂商“互卷”之年:“机海战术”失灵,“慢节奏”打法崛起
九度 1480:最大上升子序列和(动态规划思想求最值)