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

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.

主站蜘蛛池模板: 新郑市| 荥阳市| 宁都县| 科技| 浮梁县| 琼海市| 尤溪县| 永年县| 英德市| 定兴县| 基隆市| 高青县| 盐亭县| 西青区| 福海县| 阳原县| 邹城市| 逊克县| 会昌县| 昌平区| 龙州县| 吕梁市| 古丈县| 鲜城| 伊春市| 湘乡市| 绵竹市| 陆河县| 长沙县| 凤凰县| 阿瓦提县| 嘉兴市| 松滋市| 浏阳市| 北安市| 新巴尔虎左旗| 汉源县| 肥城市| 深州市| 平顶山市| 东平县|