Experience the Java internship and then turn the front end of the formal work.
Internship is very busy, turn to do the front-end work, found that time is used to study.
Just now want to build a personal website.
After all, the Java Foundation, database base, and the level of the front end can develop a simple website.
But recent learning has found that, with the development of the front-end, more and more front-end MVC frameworks are beginning to emerge.
And the recent fiery node. JS is also based on JS development.
But JS itself is less than Java mature (personal humble opinion) ...
Therefore, learning go language is also a kind of self-investment (of course, Qiantu!). hehe).
This is a record of the Go language learning process, and I hope to apply it to my personal website!
All right, I'm not talking about this crap. Start Learning go! First
1, download go installation package;
URL, http://www.golangtc.com/download I was in China's Go official website. It seems that the celestial shield. My Computer is still XP (the company does not give the application notebook ...). ), under the 32-bit, is currently 1.3.3 version.
2. Unzip the Go package
3, CMD, configure environment variables
(1) First enter the system setup
(2) New variable, Goroot is your installation directory (unzip directory)
(3) Then follow this procedure to create a new variable, and then fill in the corresponding value.
- Gopath: The directory used to store the Go language package, which cannot be in the Go installation directory
- Gobin:go binary Files directory, written%goroot%\bin is good
- GOOS: Operating System
- Goarch: Specifies the system environment, 386 means X86,AMD64 represents x64
- Path: You need to add the%gobin% to the end of the path variable to make it easy to run go at the command line
(4) Then cmd to verify the go. Enter Go env return
(5) Run the file under go.
Run under CMD, run the result:
Go language Learning-environment collocation