官术网_书友最值得收藏!

Editors

We're about to write our first program in our new hello directory. You will first need to choose which editor to use. Fortunately, working with Go does not require any special IDE or editor. The Go toolchain integrates easily into many editors and IDEs. Your options range from using a simple text editor, such as Notepad, to full-fledged IDEs dedicated to Go.

I recommend that you start with a simple text editor, such as nano or gedit, since these are included with Ubuntu, easy to use, and support syntax highlighting for Go out of the box. Feel free to choose another editor or IDE though.

Plugins exist for many text editors and IDEs to add Go support. For example, Visual Studio Code, Emacs, Sublime Text, JetBrains IntelliJ, Vim, Atom, NetBeans, and Eclipse all have Go plugins. There are a couple of Go-specific IDEs, namely JetBrains GoLand and LiteIDE, both of which are cross-platform.

Start with the nano or gedit command and explore other editors and IDEs after you are comfortable with Go. This book will not compare the editors or cover how to configure them.

主站蜘蛛池模板: 天津市| 时尚| 达日县| 微山县| 镇康县| 敦煌市| 闵行区| 吕梁市| 瑞金市| 清远市| 井研县| 天峻县| 莫力| 吉木乃县| 定州市| 安陆市| 遂平县| 贵州省| 博兴县| 新蔡县| 安新县| 合江县| 即墨市| 朝阳市| 栾城县| 清水河县| 海伦市| 嘉义市| 广南县| 鞍山市| 韩城市| 平邑县| 武功县| 延长县| 黄山市| 普安县| 张北县| 菏泽市| 水富县| 东光县| 浠水县|