Blockchain technology (how to build a Golang language development environment)

Source: Internet
Author: User
This is a creation in Article, where the information may have evolved or changed.

At present, we are familiar with Bitcoin, Ethereum eth,etc and so on.

However, about Bitcoin is implemented in what language, it is not clear that the implementation of the Bitcoin development language is the Golang language of Google Development, today the following article is mainly about how to build the Go language development environment, about the development environment, no contact with the calculation of the person is you download the United States 美图秀秀, Then in the computer installation, is now easy to install, you use the United States 美图秀秀 P Chart, we are using the Go language programming, in fact, is the next program, and then install.

Link one: Go language download link golang.org/dl/

Google's Web page seems to have loaded some sort of recognition program that directly recognizes this as a Windows system and is directly identified as a 64-bit system. (If this link does not open, you can also find the corresponding download at other addresses)


Golang Language Download page

Click on the Red box section to download it, if you are other system select the corresponding file down.

Then double-click to start running, if you are novice, it is recommended that you use the default installation, so that you do not need to change environment variables.


Double-click the Run interface

If you change the location of the installation, you need to set the environment variables, the significance of setting environment variables is that you use the programming language when you need to use other modules or files, the system will automatically recognize. (for example, some modules in the data or algorithm you want to use again, you can use the statement call, tell your programming environment some file address, the import will go to these addresses to find, to find a smooth import, why to import, some tools can be reused, save time Ah! ), computer-right-properties-advanced system-advanced, settings, can be opened for setup.


How to set environment variables

Environment variables a need to set two, one is Goroot, the other is path, what needs to be set in? Change the location of your programming files (each environment variable can be multiple addresses, separated by semicolons).

Verify that you are set to the location you want, open cmd (a Windows icon that you directly click on the desktop, enter "CMD" in the program and file search, and enter; the second is a Windows icon key on your computer keyboard, usually the second third position in the lower left corner, Windows icon +r Press together, can also open smoothly, and then click OK)


Verify the Settings interface

After installing the language environment, it is important to choose a useful editor, there are many kinds of editors, it is recommended that the familiar JetBrains Gogland

Link two: www.jetbrains.com/go/download/#section =windows

Download first and then prepare to install.


Gogland Installation Interface

Click Install, then continue to the next step, refer to, if the 32-bit system is selected 32, tick the arrow section, if it is a 64-bit system, also check the arrow section. (If you want to ask how many bits of the system are, then double-click the computer or My Computer-system properties)


Select the relative System interface

Continue to go on, and then you can run directly, you can try to go to some Web site to learn about the go language knowledge, try to write the first program, print out a "hello,world!"

1,golang China www.golangtc.com/

2,go Language Chinese web studygolang.com/

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.