IntelliJ of programming language to build Golang development environment

Source: Internet
Author: User

1.file->settings->plugins->browse repositories, enter go query, see the right side of the instructions to confirm that the right go plugin can be installed
Open File->settings->languages & Frameworks, which will be more out of the Go Settings menu

2. Create a new project project by default
Right-Test.ho, select "Run ' Test.go '" to
Small Tips1. Tip Gopath is emptyWorkaround:A. Create a new folder (here is my "Goworkpath"), which is manually created bin, pkg, src three directories. b.vi ~/.bash_profile, open edit mode, add export gopath=[***/Goworkpath]source ~/.bash_profile make edits effectiveGo env Verify that the configuration is successfulNote: If you are prompted to do so, check the Go Settings menu in the global libraries to see if you have added a pointer to theChildren of Goworkpath
Links: https://rootpd.com/2016/02/04/setting-up-intellij-idea-for-your-first-golang-project/?utm_source= Tuicool&utm_medium=referral


From for notes (Wiz)

IntelliJ of programming language to build Golang development environment

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.