Golang-development tools and plugins

Source: Internet
Author: User
Tags windows x64 gocode
This is a created article in which the information may have evolved or changed.

My device is Windows x64, loaded with Liteide and Go's basic environment.
In the process of writing code, the intelligent hints are relatively few, the search value Gocode can solve this dilemma.

  1. Settings for Environment variables
    Goroot C:\Go
    GOOS windows (don't capitalize on Windows here)
    Goarch AMD64
    Gopath C:\GoPath (This folder is created manually)
    PATH Increase C:\Go\bin
  2. In order to install and facilitate later management Gocode download and install the Git tool: https://git-for-windows.github.io/
  3. Go the next step to finish, start Git-bush, and then use the script to go get -u -ldflags -H=windowsgui github.com/nsf/gocode install Gocode
  4. After completing the installation of Gocode, locate the GOPATH "bin" folder below and overwrite "Gocode.exe" into Liteide's "bin" folder

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.