当前位置:网站首页>【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
【愚公系列】2022年7月 Go教学课程 003-IDE的安装和基本使用
2022-07-05 21:48:00 【愚公搬代码】
前言
IDE的意思是Integrated Development Environment,集成开发环境。
是用于提供程序开发环境的应用程序,集成了代码编写功能、分析功能、编译功能、调试功能等一体化的开发软件服务套,所有具备这一特性的软件或者软件套都可以叫集成开发环境。
一、Go语言的IDE
1.Go语言的IDE
Go语言的IDE主要有以下几种:
- Goland / Intellij Idea+Go插件
- 付费应用,Goland 只能进行 Go 语言的开发,所以相对于Intellij Idea来讲价格更便宜一些;Intellij Idea
不但可以进行 Go 语言的开发,还可以进行 Java、PHP、Python等其他语言的开发,所以它的价格更昂贵一些。两者在针对 Go
语言的开发上是一样的,如果已有 Intellij Idea 可以直接安装 Go 插件就可以正常进行使用了。
- 付费应用,Goland 只能进行 Go 语言的开发,所以相对于Intellij Idea来讲价格更便宜一些;Intellij Idea
- VS Code
- 由微软开发的一款功能强大的现代化轻量级代码编辑器 IDE,免费开源。在对 Go
语言的支持上,有些情况可能不如上面两种付费应用好,例如一些代码重构或者对接口支持层面等;但尽管 VS Code 在对 Go 的支持上略有欠缺,但并不影响我们使用VS Code 来进行 Go 语言的开发,并且在某些全栈开发上会有一些优势。
- 由微软开发的一款功能强大的现代化轻量级代码编辑器 IDE,免费开源。在对 Go
- 其他
- Vim GO、LiteIDE、Atom等,都可以通过一些配置进行 Go 语言的开发工作。
2.Goland
JetBrains 官方网站:https://www.jetbrains.com/go/download/#section=windows
点击下载 Download 按钮,下载到本地就可以了。
3.Goland的使用
选择新建=》go文件
创建test.go文件
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
运行test.go文件
边栏推荐
猜你喜欢
阿里云有奖体验:用PolarDB-X搭建一个高可用系统
張麗俊:穿透不確定性要靠四個“不變”
力扣------经营摩天轮的最大利润
2.2 basic grammar of R language
深信服X计划-网络协议基础 DNS
EasyExcel的读写操作
JMeter installation under win7
Implementing Lmax disruptor queue from scratch (IV) principle analysis of multithreaded producer multiproducersequencer
Longest swing sequence [greedy practice]
Alibaba cloud award winning experience: build a highly available system with polardb-x
随机推荐
Efficiency difference between row first and column first traversal of mat data types in opencv
Problems encountered in office--
Two ways to realize video recording based on avfoundation
crm创建基于fetch自己的自定义报告
Parker驱动器维修COMPAX控制器维修CPX0200H
Cold violence -- another perspective of objective function setting
DataGrid directly edits and saves "design defects"
Scenario interview: ten questions and ten answers about distributed locks
Ethereum ETH的奖励机制
从零开始实现lmax-Disruptor队列(四)多线程生产者MultiProducerSequencer原理解析
About the writing method of SQL field "this includes" and "included in" strings
办公遇到的问题--
The solution to the problem that Oracle hugepages are not used, causing the server to be too laggy
Chap2 steps into the palace of R language
2.2 basic grammar of R language
PIP install beatifulsoup4 installation failed
Teach yourself to train pytorch model to Caffe (I)
xlrd常见操作
SQL common syntax records
Cross end solution to improve development efficiency rapidly