Why use GO language

Languages use GO
GO language systems programming language is designed to be applied to a mounting web server, storage cluster or similar giant central server.
For high-performance distributed systems field, GO language than most other languages certainly has a higher development efficiency. It provides massively parallel support, it could not be better for the development of server-side game.
The first program GO
Next we come to write your first GO program hello.go (GO language source file extension is go), code is as follows;

Here Insert Picture Description
To perform GO language code can use go run the command.
Execute the code above outputs:
Here Insert Picture Description
In addition, we can also use the go build command to generate a binary file:
Here Insert Picture Description

Published 52 original articles · won praise 1 · views 1671

Guess you like

Origin blog.csdn.net/wx25051/article/details/104961491