How to build a go development environment using notepad++

Source: Internet
Author: User

Problem Description:

The go language is a very light language and is loved by many new internet companies. So, there is time to learn this language. So, how do you build a simple go language development environment under Windows?

Problem solving:

There are two steps to building a simple go development environment:

1, go to the official website to download the SDK installation

The official website address is https://golang.google.cn/, after installing the SDK, basically can write, compile and run the Go Language program. The author uses the Windows7 system,%gopath% is configured to C:\users\[user]\go, under the directory, you can create the SRC directory under this directory, and then follow the Go Tutorial guide, create the package path folder, write programs, use go Build, go install, and execute the executable program generated below the bin.

2, install notepad++ 's go language to write plugins and configure language coloring and AutoComplete

I find a lot of places, found Baidu above to find the tutorial, the site can not be used at all. The author uses the notepad++ 7.5.8 Zip decompression version, and finally found a more reliable github:

Https://github.com/chai2010/notepadplus-go

Follow the steps described above to configure the go language coloring and code auto-completion.

Then follow the GONPP plugin:

Https://github.com/tike/GOnpp

The executable file download path is:

Https://nchc.dl.sourceforge.net/project/gonpp/GOnpp_1.2_UNI.zip

The installation method is to extract the file to get a DLL file, open notepad++, in the "set"-"Import"-"Import plug-in", select the DDL.

Restart the notepad++ when you are done.

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.