Windows LITE IDE Go lang installation configuration using

Source: Internet
Author: User

Liteide:http://sourceforge.net/projects/liteide/files

Windows environment download down is a compressed package, unzip

Here comes the wind.

ConfigurationCatalogue Description
E:\go  E:\go\go         #go. bat file directory, this directory is the go Lang ZIP compressed package after decompression directory, go Environment core directory E:\go\GOPATH     #扩展包或下载目录E: \go\dev        #开发项目存储目录

go environment configuration see http://blog.csdn.net/fenglailea/article/details/41444203

Open the Liteide directory under the Bin folder, Liteide.exe Right-click to create a desktop shortcut.

Then double-click Start,

Menu bar View-Management Gopath

In the popup dialog box, customize the directory to add the directory (here is the development file directory, you can also customize other directories):

E:\go\Dev
Click OK


Menu bar View-Edit environment variables main settings Go environment directory
Goroot=e:\go\go
Save Close
Use

1. Testing

Menu file-New, in the popup dialog box,

Gopath Select the E:\go\Dev directory below,

Under Templates, select GO1 Command Project

Name to fill in the Test2,

Click the OK button.

Default popup whether to establish test case code, select Yes.

Finally, you can compile the B icon below the menu bar (or Ctrl+b or menu: Compile->build).

In the compile output bar display:

E:/go/go/bin/go.exe build  [E:/go/dev/src/test2] Success: Process exit code 0.
There will be test2.exe files on the left.

The file can be executed in cmd



Windows LITE IDE Go lang installation configuration using

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.