当前位置:网站首页>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
边栏推荐
- AtCoder Beginner Contest 258「ABCDEFG」
- 赛克瑞浦动力电池首台产品正式下线
- Taro进阶
- 爬虫(9) - Scrapy框架(1) | Scrapy 异步网络爬虫框架
- Nuxt//
- 中职组网络安全2021年江苏省省赛题目5套题目环境+解析全有需要的私信我
- DGL中异构图的一些理解以及异构图卷积HeteroGraphConv的用法
- Redis如何实现多可用区?
- What are the top ten securities companies? Is it safe to open an account online?
- 【SWT组件】内容滚动组件 ScrolledComposite
猜你喜欢
WorkManager学习一
重磅:国产IDE发布,由阿里研发,完全开源!
微信核酸检测预约小程序系统毕业设计毕设(7)中期检查报告
【DNS】“Can‘t resolve host“ as non-root user, but works fine as root
Web3基金会「Grant计划」赋能开发者,盘点四大成功项目
How to plan the career of a programmer?
风控模型启用前的最后一道工序,80%的童鞋在这都踩坑
Learning Note 6 - satellite positioning technology (Part 1)
第五届 Polkadot Hackathon 创业大赛全程回顾,获胜项目揭秘!
2022年流动式起重机司机考试题库及模拟考试
随机推荐
In the year of "mutual entanglement" of mobile phone manufacturers, the "machine sea tactics" failed, and the "slow pace" playing method rose
Learning notes 5 - high precision map solution
Singleton mode encapsulates activity management class
The most complete is an I2C summary
pytorch输出tensor张量时有省略号的解决方案(将tensor完整输出)
Go project practice - parameter binding, type conversion
Universal double button or single button pop-up
How to write high-quality code?
基于昇腾AI丨以萨技术推出视频图像全目标结构化解决方案,达到业界领先水平
Taro进阶
5G NR系统架构
Node の MongoDB Driver
A large number of virtual anchors in station B were collectively forced to refund: revenue evaporated, but they still owe station B; Jobs was posthumously awarded the U.S. presidential medal of freedo
SqlServer定时备份数据库和定时杀死数据库死锁解决
小程序框架Taro
2022年化工自动化控制仪表考试试题及在线模拟考试
Solution to the length of flex4 and Flex3 combox drop-down box
流程控制、
数据类型、
非技术部门,如何参与 DevOps?