[Go] golang uses and windows built environment

Golang core programming:

Block chain R & D engineers (distributed books technology, the Internet database technology, characterized by a decentralized)
Go server / game software engineer (now mainstream C ++ is C , log processing, data packaging, document processing, the US group supporting the background traffic, handling large concurrent; game background data channel)
Golang distributed / cloud software engineer (Shengtai Yun, CDN, jingdong message push system, distributed file processing)

Golang application areas:
Block chain applications
Back-end server applications: Master background traffic (sorting, recommendation, search, etc.), load balancing, cache, container, according to the conditions of diversion; a game server (communication, logic, data storage)
Cloud computing / cloud service back-office applications: cdn content delivery network, cdn scheduling systems, distribution systems, control systems, short domain name service; distributed file system; Description golang strong computing power

Efficient and enjoyable learning
First overall framework, and then details
What used to work, the ability to learn quickly
Learning software programming is wondering how others do, rather than how I think we should do the process
To focus on the logic and programming ideology, rather than the syntax itself

How in-depth learning a new skill or knowledge
1 . Project development process, the need to solve a problem
 2 . Take a look if you can use technology to solve the traditional use of new technologies
 3 . Research principles and basic grammar
 4 . Getting Started cases, simple, basic understanding of the use of new technology
 5 Research technical details, this place is the best embodies the ability of programmers, but also the most waste of time

Go language features:
1 . Inherited from c language many features, data types, parameters, pointers, etc.
 2 . Introduces the concept of packages, each file ownership a package, can not exist alone
 3 The introduction of the garbage collection mechanism
 4 . Natural complicated, goroutines, based on CPS concurrency model
 5 support pipe communication mechanism
 6 support function returns multiple values
 7 new innovation, such as slice slice, defer the like to delay execution

Development Tools: VSCode Sublime Text Vim Emacs

windows setup the development environment:
1 . Download and install on it,
HTTPS: // studygolang.com/dl 
such as my directory D: \ golang \ code directory (to store third-party libraries) go directory (golang installation directory) workspace directory (my own code directory)
 2 . three environment variables
PATH variable, go perform the installation directory D: \ golang \ go \ bin;
GOPATH variables, D: \ golang \ go \ code
GOROOT 变量, D: \ golang \ go \ workspace

 

Guess you like

Origin www.cnblogs.com/taoshihan/p/11040190.html